From c1dc9841c7f49fb688d818f44a77396b1ce760de Mon Sep 17 00:00:00 2001 From: Matt Enlow Date: Sun, 6 Jul 2014 20:45:32 -0600 Subject: [PATCH] Add yearless date as an acceptable format for moment parsing Closes #2331 --- core/client/utils/date-formatting.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/client/utils/date-formatting.js b/core/client/utils/date-formatting.js index 898cbdd378..b474ca8a2b 100644 --- a/core/client/utils/date-formatting.js +++ b/core/client/utils/date-formatting.js @@ -5,7 +5,8 @@ var parseDateFormats = ['DD MMM YY @ HH:mm', 'DD MMM YY HH:mm', 'DD/MM/YYYY @ HH:mm', 'DD/MM/YYYY HH:mm', 'DD-MM-YY @ HH:mm', 'DD-MM-YY HH:mm', 'DD-MM-YYYY @ HH:mm', 'DD-MM-YYYY HH:mm', - 'YYYY-MM-DD @ HH:mm', 'YYYY-MM-DD HH:mm'], + 'YYYY-MM-DD @ HH:mm', 'YYYY-MM-DD HH:mm', + 'DD MMM @ HH:mm', 'DD MMM HH:mm'], displayDateFormat = 'DD MMM YY @ HH:mm'; /**