Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepository3.01.14 - wrong date format3.01.14 - wrong date format
Previous
 
Next
New Post
10/17/2007 6:41 AM
 
Hi,

I'm testing the Repository Module 3.01.14 with my DNN 4.6.2 website. The website is bilingual, so the english date is shown right, but the german should look like this: dd.mm.yyyy but in this module it's mm.dd.yyyy.

Just wanna let you know, so you might fix this issue.
thx for your work.
 
New Post
10/17/2007 12:19 PM
 

Maybe the answer I got to  similar question will help:

 

dukesb11 wrote
Most of the templates define the date formats.  You'll have to edit the templates to use UK-gb style dates.  For example, in Templates/default/template.xml, you'd need to change the DateFormat Value element:

            
                DateFormat
                dd/MM/yyyy @ hh:mm

 

Maybe you could try                

 

DateFormat
dd.MM.yyyy @ hh:mm

Regards

Julian

 
New Post
10/17/2007 12:27 PM
 

Take a look at your template, in particular the template.xml. You can set the date format here.



 
New Post
10/17/2007 12:39 PM
 

In your template.xml you can set it up for multiple language formats.

<Object>
   <Token>[CREATEDDATE]</Token>
   <Settings>
      <Setting>
         <Name>DateFormat</Name>
         <Value>ddd MM/dd/yyyy @ hh:mm</Value>
      </Setting>
      <Setting>
         <Name>DateFormat-en-AU</Name>
         <Value>dd/MM/yyyy @ hh:mm</Value>
      </Setting>
   </Settings>
</Object>

 

In that example anyone with their language set for AU (Australia?) would get a day/month/year format while everyone else would get month/day/year.

 
New Post
10/18/2007 4:34 AM
 
mikeh wrote

In your template.xml you can set it up for multiple language formats.

 

In that example anyone with their language set for AU (Australia?) would get a day/month/year format while everyone else would get month/day/year.



That's what I was looking for.. thx mate. I found the code before, but didn't know you can/have to add other date cultures there.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepository3.01.14 - wrong date format3.01.14 - wrong date format


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out