1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 12:52:42 +01:00

Fix some extra "changed the start time of this event" transactions

Summary: Ref T11326. Since we were missing an `(int)` cast here, the code ended up thinking that changing `12345` to `"12345"` was an edit. It isn't.

Test Plan: Created/edited events, no more extra "changed start time from X to the same X" transaction clutter.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11326

Differential Revision: https://secure.phabricator.com/D16773
This commit is contained in:
epriestley 2016-10-30 09:15:43 -07:00
parent e1a9b76945
commit 5e784c998b

View file

@ -182,7 +182,7 @@ final class AphrontFormDateControlValue extends Phobject {
return null;
}
return $datetime->format('U');
return (int)$datetime->format('U');
}
private function getTimeFormat() {