1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src/view/form
epriestley 5cf09f567a Fix an issue with date parsing when viewer timezone differs from server timezone
Summary:
The way `DateTime` works with epochs is weird, I goofed this by having my server/viewer timezone the same and not noticing.

Also fix an issue where you do `?epoch=...` and then manually fiddle with the control: the control should win.

Test Plan:
  - Set viewer and server timezone to different vlaues.
  - Created a countdown using `?epoch=...`.
  - Created a countdown using `?epoch=...` and fiddling with date controls.
  - Created and edited a countdown using date/time control.
  - Poked around Calendar to make sure I didn't ruin anything this time (browsed, created event, edited event).

Reviewers: lpriestley, chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D15680
2016-04-11 07:47:37 -07:00
..
control Fix an issue with date parsing when viewer timezone differs from server timezone 2016-04-11 07:47:37 -07:00
AphrontFormView.php Give AphrontTagView a getViewer(), deprecate getUser() 2016-03-06 09:27:38 -08:00
PHUIFormInsetView.php Clean up Maniphest Batch Editor UI 2014-11-19 15:23:37 -08:00
PHUIFormLayoutView.php Update to use PHUIRemarkupView everywhere possible 2016-02-16 14:05:53 -08:00
PHUIFormPageView.php Update to use PHUIRemarkupView everywhere possible 2016-02-16 14:05:53 -08:00
PHUIInfoView.php Update Diffusion UI 2016-03-17 12:05:14 -07:00
PHUIPagedFormView.php Update Diffusion UI 2016-03-17 12:05:14 -07:00