From 1eb02f436b835153309157e584634211a5f98095 Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Wed, 22 Jul 2020 20:27:44 -0700 Subject: [PATCH] Correct minute directive in DATETIME_INPUT_FORMATS (#148) --- babybuddy/formats/en/formats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/babybuddy/formats/en/formats.py b/babybuddy/formats/en/formats.py index 728f1ce8..3c3ad9ca 100644 --- a/babybuddy/formats/en/formats.py +++ b/babybuddy/formats/en/formats.py @@ -5,8 +5,8 @@ from django.conf.locale.en import formats if settings.USE_24_HOUR_TIME_FORMAT: DATETIME_FORMAT = 'N j, Y, H:i:s' DATETIME_INPUT_FORMATS = [ - '%m/%d/%Y %H:%I:%S', # '10/25/2006 14:30:59' - '%m/%d/%Y %H:%I', # '10/25/2006 14:30' + '%m/%d/%Y %H:%M:%S', # '10/25/2006 14:30:59' + '%m/%d/%Y %H:%M', # '10/25/2006 14:30' ] SHORT_DATETIME_FORMAT = 'm/d/Y G:i:s' TIME_FORMAT = 'H:i:s'