diff --git a/src/view/form/control/AphrontFormDateControlValue.php b/src/view/form/control/AphrontFormDateControlValue.php index 72221dd287..394473bea8 100644 --- a/src/view/form/control/AphrontFormDateControlValue.php +++ b/src/view/form/control/AphrontFormDateControlValue.php @@ -307,6 +307,10 @@ final class AphrontFormDateControlValue extends Phobject { } private function getStandardDateFormat($date) { + // no value entered into the field at all + if (!$date) { + return null; + } $colloquial = array( 'newyear' => 'January 1', 'valentine' => 'February 14',