Page MenuHomePhabricator

D16773.id40395.diff
No OneTemporary

D16773.id40395.diff

diff --git a/src/view/form/control/AphrontFormDateControlValue.php b/src/view/form/control/AphrontFormDateControlValue.php
--- a/src/view/form/control/AphrontFormDateControlValue.php
+++ b/src/view/form/control/AphrontFormDateControlValue.php
@@ -182,7 +182,7 @@
return null;
}
- return $datetime->format('U');
+ return (int)$datetime->format('U');
}
private function getTimeFormat() {

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 5:17 PM (1 h, 7 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6908152
Default Alt Text
D16773.id40395.diff (415 B)

Event Timeline