diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2019-02-10 21:35:23 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2019-02-10 21:36:39 +0100 |
commit | 0bbe802002c660dd9d555d557ce8daa7c5d681b9 (patch) | |
tree | dd87a623cf9d8d3846703e225572494c892ce4c4 /src | |
parent | 1f74ad33570bb4a351b31e26a2a43f7976eb45a0 (diff) | |
download | calcurse-0bbe802002c660dd9d555d557ce8daa7c5d681b9.tar.gz calcurse-0bbe802002c660dd9d555d557ce8daa7c5d681b9.zip |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/calcurse.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. |