Time displayed not correct

gurubert - July 1, 2009 - 09:47
Project:World Clock
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

The time displayed in the worldclock box is only correct immediately after saving the configuration.

After a reload there seems to be some kind of timezone confusion.

Pressing save again shows the correct times, but after a reload ( or navgiation to a different page) the worldblock block shows uncorrect time info.

AttachmentSize
Correct times immediately after saving155.77 KB
After a reload time info is not correct147.36 KB

#1

flevour - July 5, 2009 - 07:36

Could you please try to disable any caching you may have enabe under admin/settings/performance and report if the issue is still present? Also keep in mind the 2.x series is not production ready yet.
Thank you very much,
Francesco

#2

gurubert - July 6, 2009 - 09:33

Page cache was set to "Normal" and block cache was enabled.

I disabled block cache and time display is now correct in the worldclock block.

Is that because the JavaScript code is only added to the page via drupal_add_js() in the "view" operation section of worldclock_block() and this gets not called if the block contents are cached?

#3

flevour - July 6, 2009 - 09:53

Probably yes.
I'll try to check it out soon. In case you have the expertise required, any patch is welcome :)))
Thanks for the feedback,
Francesco

#4

dailypress - August 28, 2009 - 00:26

Cool Module. I tried a few middle eastern countries and noticed the time for Iran is not correct.
Please google: tehran time : I believe the WorldClock is 1 hour behind for Iran.

 
 

Drupal is a registered trademark of Dries Buytaert.