Use D/M/Y for dates regardless of system locale
authorJoann Mõndresku <joann@cernodile.com>
Sat, 8 Jan 2022 15:58:56 +0000 (17:58 +0200)
committerJoann Mõndresku <joann@cernodile.com>
Sat, 8 Jan 2022 15:58:56 +0000 (17:58 +0200)
blogit

diff --git a/blogit b/blogit
index e54f9e38a57297145f032f13c32f6ecba4ec445d..378b94b160da8775d2b3609f7f1c1120f1f14edd 100755 (executable)
--- a/blogit
+++ b/blogit
@@ -6,8 +6,8 @@ include config
 endif
 
 # The following can be configured in config
-BLOG_DATE_FORMAT_INDEX ?= %x
-BLOG_DATE_FORMAT ?= %x %X
+BLOG_DATE_FORMAT_INDEX ?= %d/%m/%Y
+BLOG_DATE_FORMAT ?= %d/%m/%Y %X
 BLOG_TITLE ?= blog
 BLOG_DESCRIPTION ?= blog
 BLOG_URL_ROOT ?= http://localhost/blog