Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Vote for DotNetNuke as your choice for winner of this year's PackT Open Source CMS Award
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Events Module [...  Calendar showing the wrong todays date
Previous Previous
 
Next Next
New Post 5/23/2008 4:53 PM
User is offline Edmedia
117 posts
www.edmedia.com.au
9th Ranked


Re: Calendar showing the wrong todays date 

The website date cant be coming form the viewers pc other wise there wouldnt be a need to set up the websites time zone (UTC) and as is needed the registered users time zone.  This way the web site can be hosted in a time zone location out site for the owners,  Like me.. I'm in Austalia and the site is hosted in the US and I can set the time on the site to reflect the local time in Oz not the time the the US and the different times for the registered users.   Its also another reason the date format is incorrect as it reflects a US date format not and Oz format.

Plus the calendar also allows for the off-setting of time with its own time zone selector. intelation to UTC and even with that set correctly the date in the calendar is out of sync

 
New Post 5/24/2008 12:44 AM
User is offline Roger Selwyn
882 posts
www.thedivingclub.co.uk
7th Ranked




Re: Calendar showing the wrong todays date 

I'm sure I'm probably wrong about the website date, and you are right....I haven't looked at the code. However I know I am right for the calendar, since I've looked at the code. The timezone shown in setting up the calendar plays no part in selecting the initial date. I can start going into detail of where it is used if you would like...

On a side point, you can correct teh date format on your site from US to Oz format if you wish, just go into Host/Languages and add English(New Zealand). Then set your site to default to English(NZ) in Admin/Site Settings, and change all your users profiles over to English(NZ). You may or may not wish to disable browser language detection in the Host/Languages dialogue as well


Events 4.0.2 - It's released !!
Requirements/Bugs - Submit them here - Gemini - Raise against project 'DNNP', and put 'Events' in the title.
 
New Post 5/24/2008 4:26 AM
User is offline Edmedia
117 posts
www.edmedia.com.au
9th Ranked


Re: Calendar showing the wrong todays date 

Roger

Thanks you have provided plenty to think about and thanks to the tip on localisation.  The calendar time zone selector, I would be interested in knowing what its use is?.  Also  as you have so abely figures out the site is hosted at WH4L  and the site in question is of a local market in Australia I've set the time zone for the site to UTC +10 which does display the correct time for the east coast of Australia and the the data an time roll over at the correct times. 

I have talked to WH4L and they have confirment the time on the server is correct and I take your point that the calendar is taking the time from the server and not the time as set within the portal, as the DNN website can off-set the time difference but it would seem that the calendar dosnt as it is only taking the time from the server with out compensating the time for regional differences.

This is an issue as hosting and presentation can and are in different locations and time zones.  The calendar should use the time as set by the administrator in the portals admin settings.  And secondly the calendar should display the portals time to unauthenticated users.  Registered users the calendar should reflect the their time zone..

Thanks Roger for your helping.

 

 
New Post 5/24/2008 9:00 AM
User is offline Roger Selwyn
882 posts
www.thedivingclub.co.uk
7th Ranked




Re: Calendar showing the wrong todays date 

Hi,

No problem. I agree the calendar should use something use the calendar timezone or the user timezone, which is why I have raised the issue on Gemini, and pointed at this thread for the conversation..

The point of the timezone in the calendar, is to allow different calendar instances on a single portal to be set to different timezones. When merged, through sub-calendars, they are altered by their appropriate timezones. Also notifications are sent out based on the timezones. This isn't perfect, because DST processing isn't perfect DNN, but that is a different discussion.

Note that the times displayed on the calendar are not altered at all by user timezones, again this is a DST thing. When DST processing is accurate, this could be done. But for now, what you enter is what you see. The module admin, has the otions to display the module timezone in each event.

And by the way I meant en-AU, not en_NZ for the language.....

Roger


Events 4.0.2 - It's released !!
Requirements/Bugs - Submit them here - Gemini - Raise against project 'DNNP', and put 'Events' in the title.
 
New Post 7/16/2008 12:40 PM
User is offline Roger Selwyn
882 posts
www.thedivingclub.co.uk
7th Ranked




Re: Calendar showing the wrong todays date 
Modified By Roger Selwyn  on 7/16/2008 3:42:11 PM)

I have now posted a bug fix for this. It isn't perfect, but should be close enough. Perfect may not be possible until we get to .Net 3.x. I will post a blog on this when my server comes back up. Some details here - EVT-7666.

Cheers
Roger

[Edit] - Blog here


Events 4.0.2 - It's released !!
Requirements/Bugs - Submit them here - Gemini - Raise against project 'DNNP', and put 'Events' in the title.
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Events Module [...  Calendar showing the wrong todays date
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


UK - DotNetNuke providers
UK providers of DNN module development and skin package design. Oxford Information Labs provides cost-effective solutions for businesses and organisations specialising in Skin design and bespoke module development.
www.oxil.co.uk
TronixSoft
Hosting for local businesses that want more from their websites.
www.TronixSoft.com
The Forerunner Network
The Forerunner Network consists of a group of Dynamic Website & Interactive Membership Portal hosting services that are managed by Forerunner Communications. Our services span a wide range of markets and enable individuals, organizations and businesses to build and manage dynamic, interactive portals and websites.
The Forerunner Network

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP