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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DateFormats different culturesDateFormats different cultures
Previous
 
Next
New Post
8/9/2007 12:35 PM
 

On my site i've many cultures and i'd like to create a skin with Token [CURRENTDATE]
I'd like to show currentdate in extended mode so i use this code:

  <Token>[CURRENTDATE]</Token>
  <Settings>
   <Setting>
    <Name>CssClass</Name>
    <Value>CurrentDate</Value>
   </Setting>
   <Setting>
    <Name>DateFormat</Name>
    <Value>dddd dd MMMM yyyy</Value>
   </Setting>
  </Settings>

My problem is that this code is good for some cultures like Italian but not for others like US

So if a user change language to US he see currentdate in a wrong format !

How can i solve this problem ?


blondie
 
New Post
8/9/2007 1:30 PM
 

I dont think this skin object is properly localized.

have you tried to find a java script that looks up the client to pick up the date:-

http://www.hotscripts.com/search/16326561.html

Salar

 
New Post
8/9/2007 1:44 PM
 

javascript cannot solve this problem because i want to show currentdate respecting DNN cultures

DNN have a default culture (locale) and every user have his culture

The only way i've found is to sent token without Dateformat field, but in this case i can only show date in standard format

are  there others solutions ?


blondie
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DateFormats different culturesDateFormats different cultures


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