Page MenuHomePhabricator

Date box on Special:Log shows "0000-00-00" by default in Internet Explorer and Safari
Closed, ResolvedPublic

Description

In Internet Explorer (on Windows 10) and Safari (on a Mac, but not on an iOS device), when viewing a Special:Log page, the date box shows "0000-00-00" by default. This means that when you click "Show", logs from last year's November will be shown. This doesn't happen in other browsers. Instead of showing "0000-00-00", the date box should either show nothing at all or today's date written in the ISO 8601 format (yyyy-mm-dd) by default.

Description from T203782 by TheDJ

https://en.wikipedia.org/wiki/Special:Log?type=&user=&page=

Screen Shot 2018-09-07 at 13.15.02.png (1,292×946 px, 156 KB)

Screen Shot 2018-09-07 at 13.15.09.png (1,492×808 px, 143 KB)

There seems to be a problem with Special:Log, where the "From date (and earlier):" field is pre-filled with "0000-00-00". When I attempt any search, that spontaneously changes to "-0001-11-30", and thus inevitably yields no result.

Event Timeline

GTrang renamed this task from Date box shows "0000-00-00" to Date box shows "0000-00-00" in Internet Explorer.Aug 3 2018, 2:59 AM
GTrang added a project: MediaWiki-Logevents.
GTrang updated the task description. (Show Details)
Aklapper renamed this task from Date box shows "0000-00-00" in Internet Explorer to Date box on Special:Log shows "0000-00-00" by default in Internet Explorer.Aug 3 2018, 12:40 PM
GTrang renamed this task from Date box on Special:Log shows "0000-00-00" by default in Internet Explorer to Date box on Special:Log shows "0000-00-00" by default in Internet Explorer and Safari.Sep 8 2018, 1:25 AM
GTrang updated the task description. (Show Details)

Instead of showing "0000-00-00", the date box should either show nothing at all or today's date written in the ISO 8601 format (yyyy-mm-dd) by default.

Will it be ok to show the current date on all the browsers?

GTrang claimed this task.

Fixed after Special:Log started using OOUI.