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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11325, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9325 - Date / Day off by one!
Date / Day off by one!
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.10.x
All All
: High major (vote)
: ---
Assigned To: Brion Vibber
:
: 10394 (view as bug list)
Depends on: 8577
Blocks:
  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: ---


Attachments

Description Orcano 2007-03-18 12:47:18 UTC
I have posted a message here on
http://www.mediawiki.org/wiki/Project:Support_desk#March_18th.2C_2007_on_MONDAY...._Two_days_on_one_date

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

>quote
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.

thanks
Comment 1 Orcano 2007-03-18 12:51:33 UTC
picture of how it appears
http://upload.wikimedia.org/wikipedia/mediawiki/2/23/Two_days_on_one_date2.gif
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
messages.

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.


Navigation
Links