Last modified: 2010-05-15 15:51:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9325 - Date / Day off by one!
Date / Day off by one!
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: High major (vote)
: ---
Assigned To: Brion Vibber
: 10394 (view as bug list)
Depends on: 8577
  Show dependency treegraph
Reported: 2007-03-18 12:47 UTC by Orcano
Modified: 2010-05-15 15:51 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Orcano 2007-03-18 12:47:18 UTC
I have posted a message here on

I think you can confirm it on your site if you add 9:00 to GST and make language
preference to "ja".

Hi, I have just made a Japanese site that Mediawiki is installed on the server
which takes GST as Mediawiki recommend 9 hour adjustment. Though today is
"Sunday, March 18th", it shows "MONDAY, March 18th". It used to show "Sunday,
March 18th" till at least 14:44 JST as the picture on the right shows. The
reason for it is probably that dates and days are differently programmed.

    on dates, it is precisely indicated.
    on days, they made it just add a day for GST-based servers to JST clients.

        as a result, if GST area is on Saturday, it makes JST area on Sunday,
which is correct. However once GST area becomes on Sunday, JST area becomes
Monday while the date is precise at JST, just like "Monday, March 18th", 2007.

I think the solution is to make days be calculated from the adjusted time not
calculated from GST time.

Comment 1 Orcano 2007-03-18 12:51:33 UTC
picture of how it appears
Comment 2 Shinjiman 2007-07-09 22:13:27 UTC
*** Bug 10394 has been marked as a duplicate of this bug. ***
Comment 3 Dan Jacobson 2007-07-12 13:40:44 UTC
Changing priority to high, major as it seems English users don't know
how rediculous this looks all day long to Asian users as the problem
dissapears if one uses uselang=en, as the day disappears.

It is downright dangerous, as users looking at the day will think one
thing, and at the date will think another, and base decisions on it.

Imagine announcing the meeting will be held "Thursday the 25th".
So some users will come on Thursday, and some on the 25th.
Only those who accidentally somehow realized that Thursday was not in
fact the 25th, or the 25th was not in fact Thursday, would realize
that they've got a problem: their computer, the same one that passed
the Y2K crises OK, is now giving drunk driver schizophrenic date

Never mind the historical accuracy of the encyclopedia, just at least
get the calendar for the year 2007 straight.

Does the UNIX date(1) command calculate the day in one timezone, and
the date in another? No.
Comment 4 Brion Vibber 2007-07-12 15:24:57 UTC
This was fixed by r23017, which fixed bug 8577. Upgrade to 1.11 when it's released or install the patch from that revision.

Note You need to log in before you can comment on or make changes to this bug.