Browse Source

change default datetime template rendering to include seconds

Nick Sweeting 1 year ago
parent
commit
0fef2357c7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      archivebox/core/settings.py

+ 2 - 2
archivebox/core/settings.py

@@ -334,8 +334,8 @@ if IS_SHELL:
 LANGUAGE_CODE = 'en-us'
 USE_I18N = True
 USE_TZ = True
-DATETIME_FORMAT = 'Y-m-d g:iA'
-SHORT_DATETIME_FORMAT = 'Y-m-d h:iA'
+DATETIME_FORMAT = 'Y-m-d h:i:s A'
+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