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...Administration ...Administration ...Daylight SavingsDaylight Savings
Previous
 
Next
New Post
1/15/2010 6:55 AM
 

I was wondering if DNN had given any consideration towards daylight savings when dealing with user timezones?

I've actually just catered for this with custom user settings using OWS, but would like to know if it's something DNN has thought about for the core and if there are any plans to in the future.

 
New Post
1/16/2010 8:05 AM
 

David,

missing DST support is a known limitation and I already worked out requirements to switch using .Net timezones (which had been added in .Net 3.5, we are now able to use). Thus said, it is just a matter of spare time to find for implementing it  into the core framework.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/16/2010 12:45 PM
 

Thanks Sebastian

I am curious how this works, and if it is a complete solution as I'm aware there are timezones that have different daylight savings.  Eg. QLD and NSW in Australia have the same timezone but QLD doesn't have daylight savings and NSW does.

A part of what I've been working on is things such as reminders, eg. on email where actual time can be quite important.

What I've actually done to solve this is enable a checkbox alongside the timezone setting for users. If this is checked it adds 60 to the timezone value they select, which is dealt with when reading it back in as -60 to the value if the checkbox is checked for the user (using a separate table to store this 0/1) so they only see their own timezone setting as correct.

Obviously if I have this solution in place, it may become an issue if DNN introduces this functionality - unless it's either optional or I realise it has been introduced and disable my solution.  If not optional I do hope it is a full solution and takes issues as I mentioned above into account.

 
New Post
1/16/2010 10:08 PM
 

David,

.Net Time Zones base on Windows time zones, this service saves us from the need to integrate the tz database. .Net Time Zones differ from Standard Time Zones (STZ) by identifying just a STZ subarea with same DST settings, idenified by an internal ID and a couple of city names for the user. 

One major problem switching DNN to  .Net TZ will be the migration of existing TZ values stored in the database, because each current TZ value (in fact, it is standard offset in minutes disregarding DST) will be substituted by multiple new IDs.

What are the caveats for module developers? make sure to store values using UTC and convert before displaying/ just after data has been entered, according to current user TZ offset from user profile. If you need to add proprietary DST support, add an additional property to user profile and other TZ settings - but be aware, it won't be taken into account during DNN upgrade, when DST gets supported. Stand away from using UserTime class, there are a number of misnamed methods included. I will post more information about this subject, as soon as it's been decided and implemented. 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/3/2010 9:59 AM
 
Do we have any support now for daylight saving in the latest DNN version?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Daylight SavingsDaylight Savings


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