diff options
author | Baptiste Jonglez <baptiste--git@jonglez.org> | 2012-05-28 04:50:40 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-31 20:42:23 +0200 |
commit | 9adacec623d4cca07844e1667c7d0a8d3179a261 (patch) | |
tree | 9c266918962ee253285595dca53a9bc68bf7f8cb /src/calcurse.h | |
parent | 9e1185f526e4a6636a64b026c6617898a6a1c8aa (diff) | |
download | calcurse-9adacec623d4cca07844e1667c7d0a8d3179a261.zip |
Provide an array of available date input formats
This will allow to fix the current hardcoding of strings describing
date input formats in multiple places.
Signed-off-by: Baptiste Jonglez <baptiste--git@jonglez.org>
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index 5fdfe4c..98e6a76 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -940,6 +940,7 @@ extern unsigned colorize; extern int foreground, background; extern enum ui_mode ui_mode; extern int read_only; +extern const char *datefmt_str[DATE_FORMATS]; extern int days[12]; extern const char *monthnames[12]; extern const char *daynames[8]; |