diff --git a/src/view/form/control/AphrontFormDateControlValue.php b/src/view/form/control/AphrontFormDateControlValue.php index f9dc14b238..51942c20e7 100644 --- a/src/view/form/control/AphrontFormDateControlValue.php +++ b/src/view/form/control/AphrontFormDateControlValue.php @@ -182,7 +182,7 @@ final class AphrontFormDateControlValue extends Phobject { return null; } - return $datetime->format('U'); + return (int)$datetime->format('U'); } private function getTimeFormat() {