summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parse.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse.cc b/parse.cc
index 1e0c9ffa..231a8514 100644
--- a/parse.cc
+++ b/parse.cc
@@ -37,6 +37,8 @@ static inline char * next_element(char * buf, bool variable = false)
}
static const char *formats[] = {
+ "%Y-%m-%d",
+ "%m-%d",
"%Y/%m/%d",
"%m/%d",
"%Y.%m.%d",