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 ForumsEventsEventsLocalize for UserLocalize for User's Time Zone?
Previous
 
Next
New Post
4/13/2007 8:37 PM
 

I like the Module Setting Idea w/a default to the Site TZ...But, would the setting be per Event?  Given your example, some events will be fixed, while others would be converted...this will , no doubt create confusion w/users, unless their is some to let them know in the UI...suggestions?

As for DST, this is a pain...we need to modify the DNN TimeZone.XML table to add:

1) DST Start and End Date/Time (2 new fields)
2) DST Offset
3) Create a Form to Adjust the DST/TimeZone table (not all locales observe DST...and unfortunately the politicians seem to change it...case in point this year's Microsoft issues)

A couple of methods that will given a date/time convert to/from TZs using the upgraded TimeZone.XML file...

Finally a recommendation...store all date/times in UTC Offset +0...this will be uneffected by Locale DST/TimeZone changes.

 
New Post
4/16/2007 6:28 AM
 

Alan,

I would not allow to set time zone mode per event - this is confusing for sure. IMO this should be an option per module instance to avoid any confusion and might require additional thinking of the admin during setup - but this is the tradeoff of most of the additional fetures we add.

DST unfortunately is not that easy to handle: different countries in the same time zome might have different DST regulations, therefore DST needs to be stored per country or per country and time zone. Fprmer CT member Phil Guerra pointed out some of the requirements in this post.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/16/2007 8:20 AM
 

Thanks Sebastian.  I think I understand.  I would think the way to operate w/TimeZones would be to display all Dates/Times in the User's TimeZonee (unless Anonymous).  However, w/the DNN Core, not all users realize they can set/change their timezone...  This may be something we want to add to the Skin Objects and allow users to see and/or change...in other words put it more in their face in the UI.

I was thinking about a reorg of the TimeZone file to allow not only for Countries, but also Locales.  The might allow for Admins or specified Roles to Add/Change the TimeZone info, including DST settings or the locale.  I di read and look at the Mike Brumm class.  Also, now .NET 3.0 includes a TimeZone class (http://msdn2.microsoft.com/en-us/library/system.timezone.aspx).  I not one of Mike's recommendations was to store all internal dates/times in UTC offset +0 and convert when displayed.  This might cause some issues, but would eliminate the need for changing data further on down the line (like Microsoft's DST patch earlier this year).  When Microsoft put out their DST patch earlier this year, admins had to run an Exchange DB Update program in order to change all internal dates/times...this was because they store the Date/Time in non-UTC +0 format.  The only way to avoid this is to store in UTC +0.   All DNN modules would then need to convert (using the internal, perpetual TZ offset table) to the User's local offset when displaying...this is a tough thing to implement...but may be the only way to address the issue...

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsLocalize for UserLocalize for User's Time Zone?


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