HomePhabricator

Set date formats to include TZ, for Moment.js

Authored by Samwilson on Feb 7 2019, 4:24 AM.

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 8 2019, 3:17 AM
Parents
rGEVMbaec3e416759: Merge pull request #177 from wikimedia/admins-no-piwik
Branches
Unknown
Tags
Unknown
References
refs/pull/179/head
ChangeId
None