Active
Project:
World Clock
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2009 at 09:47 UTC
Updated:
28 Aug 2009 at 00:26 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| After a reload time info is not correct | 147.36 KB | gurubert | |
| Correct times immediately after saving | 155.77 KB | gurubert |
Comments
Comment #1
flevour commentedCould 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
Comment #2
gurubert commentedPage 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?
Comment #3
flevour commentedProbably 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
Comment #4
dailypress commentedCool 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.