HomePhabricator

Set date formats to include TZ, for Moment.js

Authored by Samwilson on Feb 7 2019, 4:24 AM.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Set date formats to include TZ, for Moment.js

This explicitly adds the timezone to the event form's start and
end date fields, so that it can be correctly read by Moment.js
which otherwise treats the times as being in the browser's
timezone.

There seems to be some discrepencies with how ISO8601 formats
are handled (e.g. the 'T' separating the date and time should be
fine, but it seems to break things).

Bug: T215327

Details

Committed
SamwilsonFeb 7 2019, 4:24 AM
Parents
rGEVMbaec3e416759: Merge pull request #177 from wikimedia/admins-no-piwik
Branches
Unknown
Tags
Unknown
ChangeId
None