From 0bbe802002c660dd9d555d557ce8daa7c5d681b9 Mon Sep 17 00:00:00 2001
From: Lukas Fleischer <lfleischer@calcurse.org>
Date: Sun, 10 Feb 2019 21:35:23 +0100
Subject: Use portable default day heading format

The %-d format string is not standards-compliant. Use %e instead.

Reported-by: Mikolaj Kucharski <mikolaj@kucharski.name>
Suggested-by: Lars Henriksen <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
---
 src/calcurse.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/calcurse.h b/src/calcurse.h
index 3efde84..5e14b80 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -318,7 +318,7 @@ enum datefmt {
     (datefmt == DATEFMT_YYYYMMDD ? _("yyyy/mm/dd") : _("yyyy-mm-dd"))))
 
 /* Day heading default format. */
-#define DAY_HEADING_DEFAULT "%B %-d, %Y"
+#define DAY_HEADING_DEFAULT "%B %e, %Y"
 
 /*
  * Calcurse representation of the date of a day in the calendar.
-- 
cgit v1.2.3-70-g09d2