Page MenuHomePhorge

D25875.1740106537.diff
No OneTemporary

D25875.1740106537.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
@@ -307,6 +307,10 @@
}
private function getStandardDateFormat($date) {
+ // no value entered into the field at all
+ if (!$date) {
+ return null;
+ }
$colloquial = array(
'newyear' => 'January 1',
'valentine' => 'February 14',

File Metadata

Mime Type
text/plain
Expires
Fri, Feb 21, 02:55 (1 d, 2 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1173996
Default Alt Text
D25875.1740106537.diff (512 B)

Event Timeline