From 1d582c0c483a547990c8607e604769a3aefed685 Mon Sep 17 00:00:00 2001 From: Vladimir Rusinov Date: Tue, 3 Sep 2024 23:02:00 +0100 Subject: [PATCH] Disable fancy dates --- conf.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/conf.py b/conf.py index b275df1..9c2a114 100644 --- a/conf.py +++ b/conf.py @@ -15,9 +15,7 @@ """ import time - -from typing import List, Dict, Any, Callable - +from typing import Any, Callable, Dict, List # Data about this site BLOG_AUTHOR = "V Rusinov" # (translatable) @@ -212,7 +210,7 @@ # Used by babel.dates, CLDR style: # http://cldr.unicode.org/translation/date-time # You can also use 'full', 'long', 'medium', or 'short' -DATE_FORMAT = 'yyyy-MM-dd' +DATE_FORMAT = 'd MMM yyyy' # Date format used to display post dates, if local dates are used. # (translatable) @@ -226,7 +224,7 @@ # 2 = using a string like “2 days ago” # # Your theme must support it, Bootstrap already does. -DATE_FANCINESS = 2 +DATE_FANCINESS = 0 # Customize the locale/region used for a language. # For example, to use British instead of US English: LOCALES = {'en': 'en_GB'}