change default datetime template rendering to include seconds

This commit is contained in:
Nick Sweeting 2024-09-04 23:43:25 -07:00
parent 0c236b034b
commit 0fef2357c7
No known key found for this signature in database

View file

@ -334,8 +334,8 @@ if IS_SHELL:
LANGUAGE_CODE = 'en-us' LANGUAGE_CODE = 'en-us'
USE_I18N = True USE_I18N = True
USE_TZ = True USE_TZ = True
DATETIME_FORMAT = 'Y-m-d g:iA' DATETIME_FORMAT = 'Y-m-d h:i:s A'
SHORT_DATETIME_FORMAT = 'Y-m-d h:iA' SHORT_DATETIME_FORMAT = 'Y-m-d h:i:s A'
TIME_ZONE = CONFIG.TIMEZONE # django convention is TIME_ZONE, archivebox config uses TIMEZONE, they are equivalent TIME_ZONE = CONFIG.TIMEZONE # django convention is TIME_ZONE, archivebox config uses TIMEZONE, they are equivalent