Skip to content

Commit

Permalink
Merge pull request #712 from DNNCommunity/currentdate-formatting-fixes
Browse files Browse the repository at this point in the history
Resolve several formatting issues with `currentdate`
  • Loading branch information
david-poindexter committed Apr 12, 2024
2 parents f37917f + c09d205 commit 78bc15c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions content/tutorials/themes/theme-objects/currentdate/index.md
Expand Up @@ -11,7 +11,7 @@ links:

# Current Date Theme Object Introduction

Displays the current date
Displays the current date

**Current Version:** 01.00.00

Expand All @@ -20,20 +20,20 @@ links:

### ASCX
``` html
<%@ Register TagPrefix="dnn" TagName="CURRENTDATE" Src="~/Admin/Skins/CurrentDate.ascx" %>
<dnn:CurrentDate runat="server" id="dnnCurrentDate" />
<%@ Register TagPrefix="dnn" TagName="CURRENTDATE" Src="~/Admin/Skins/CurrentDate.ascx" %>
<dnn:CurrentDate runat="server" id="dnnCurrentDate" />
```

### HTML Token
[CURRENTDATE]

### HTML Object Token
``` html
<object id="dnnCURRENTDATE" codetype="dotnetnuke/server" codebase="CURRENTDATE"></object>
<object id="dnnCURRENTDATE" codetype="dotnetnuke/server" codebase="CURRENTDATE"></object>
```

| Attribute | Description | Default | Posssible Values | DNN Version |
| --- | --- | --- | --- | --- |
| CssClass | CSS Class of the rendered | SkinObject | A Valid CSS Class | 01.00.00 |
| DateFormat | Format string for the Date text.<br/>If this is left empty the Dat | Date Format of the current language. | A valid (.NET Date Format)[https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings] | 01.00.00 |

0 comments on commit 78bc15c

Please sign in to comment.