summaryrefslogtreecommitdiff
path: root/datetime.cc
diff options
context:
space:
mode:
Diffstat (limited to 'datetime.cc')
-rw-r--r--datetime.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/datetime.cc b/datetime.cc
index 0e821da6..d916a2d1 100644
--- a/datetime.cc
+++ b/datetime.cc
@@ -20,7 +20,9 @@ static const int month_days[12] = {
31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
};
-static const char * formats[] = {
+char input_format[128];
+
+const char * formats[] = {
"%Y/%m/%d",
"%m/%d",
"%Y.%m.%d",