Posted by gurubert on July 1, 2009 at 9:47am
Jump to:
| Project: | World Clock |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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.
| Attachment | Size |
|---|---|
| Correct times immediately after saving | 155.77 KB |
| After a reload time info is not correct | 147.36 KB |
Comments
#1
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
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
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
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.