From 132fe314d5a11f85103c3455e70b519bfaa706c3 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sun, 17 Jun 2018 22:41:21 -0400 Subject: [PATCH] Fix another tokenization issue --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 54d79fa..ba7a80c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1161,7 +1161,7 @@ impl Parser { if let Ok(val) = tokens[idx + 2].parse::() { ymd.append(val, &tokens[idx + 2], None); } else if let Some(val) = info.get_month(&tokens[idx + 2]) { - ymd.append(val as i32, &value_repr, Some(YMDLabel::Month)); + ymd.append(val as i32, &tokens[idx + 2], Some(YMDLabel::Month)); } if idx + 3 < len_l && &tokens[idx + 3] == sep {