mirror of
https://github.com/bspeice/dtparse
synced 2024-11-13 17:38:09 -05:00
Fix another tokenization issue
This commit is contained in:
parent
8787e321e2
commit
132fe314d5
@ -1161,7 +1161,7 @@ impl Parser {
|
||||
if let Ok(val) = tokens[idx + 2].parse::<i32>() {
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user