Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.3
-
Fix Version/s: None
-
Component/s: Calendar
-
Labels:None
-
Environment:All
-
Affected Branches:MOODLE_13_STABLE
Description
OK, here's a weird one.
Attached are two screenshots.
The good one is how it should look, and does look, on a server when my timezone is set to anything lower than (and including) GMT+8.
The bad one is how it looks when the timezone is set to anything ABOVE that ... ie GMT+8.5 and higher. Note that the months are repeated and links are generally screwed as you move around.
The same thing happens in the mini-calendar ...
This showed up on a Japanese site (GMT+9). Note that the operating system it's running on is running at GMT+8 (it's one of mine) - perhaps this is not coincidence.
A date calculation gone awry?
From Martin Dougiamas (martin at moodle.com) Friday, 7 May 2004, 11:54 PM:
Jon, can you take a look at this? ... your date calculations are a bit bamboozling .... 8-.
From Jon Papaioannou (pj at moodle.org) Friday, 7 May 2004, 11:58 PM:
Yeah I know... but I really couldn't do any simpler
I 'll take a look and get back when I have a solution.
From Jon Papaioannou (pj at moodle.org) Saturday, 8 May 2004, 12:10 AM:
Fixed. I can go home now
From Martin Dougiamas (martin at moodle.com) Saturday, 8 May 2004, 04:15 PM:
Thanks, Jon ... could you check it in?