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 ForumsForumForumDNN Forum & Support for DNN8DNN Forum & Support for DNN8
Previous
 
Next
New Post
2/5/2016 5:15 PM
 
thanks for the patch, i have it installed and testing.
 
New Post
2/9/2016 5:23 PM
 

The 5.00.4 release on Github fixes the timezone issue in my local development lab that uses Windows 2012 R2, but it does not fix the issue in my Azure DNN installation.  In my local development lab the server is set to my local time.  In Azure web app, the server is set to UTC.  I changed the server time in my Azure Web app using the Application setting: WEBSITE_TIME_ZONE to my local time.  Forum time continued to be UTC and not local time. Portal time and profile time set to local time. And Host Dashboard reports server time as local. 

So to recap:

1. Local development with 5.00.4 and forum time shows correct local time.

2. Azure DNN installation does not

DNN version and Forum version the same on local development and Azure. 

Any ideas what could the problem?

I read that the WEBSITE_TIME_ZONE changes the time, but leaves the offset to +00.  So perhaps this "application setting" local time does not provide the forum code with the correct offset?

 Edited: My DNN version is 7.4.1 in local lab and in Azure.

Forum SQL was modified to make it Azure compatible by adding WITH to the joins in the following stored procedures: Forum_ThreadViewsIncrement, Forum_Thread_Split

 
New Post
2/10/2016 1:27 AM
 
See with happens when you set portal timezone same as your database timezone and leave user timezone to the real one.
 
New Post
2/10/2016 2:46 AM
 

Actually, see with this: https://github.com/juvander/DotNetNuk...

This is for the DNN versions below DNN8 and I believe there is a bug in DNN on how timezones are being handled.

So update this forum version, set your portal timezone to your local one and also your unauthenticated users should see posts then in same timezone as your portal.

 

 
New Post
2/10/2016 5:44 AM
 
I am not aware of a bug in DNN related to timezones. Make sure, you are not using deprecated methods and properties though (preferredTimeZone profile property should be the current one), storing the Windows Timezone ID.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumDNN Forum & Support for DNN8DNN Forum & Support for DNN8


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