extra: remove commented out 'X' and 'x' formats
These formats are already covered with 'T' | 'X' in line 571 and 'D' | 'x' in line 446.
This commit is contained in:
parent
0c388be8d1
commit
72490c9d48
@ -600,8 +600,6 @@ pub fn strptime(s: &str, format: &str) -> Result<Tm, ~str> {
|
||||
None => Err(~"Invalid day of week")
|
||||
}
|
||||
}
|
||||
//'X' {}
|
||||
//'x' {}
|
||||
'Y' => {
|
||||
match match_digits(s, pos, 4u, false) {
|
||||
Some(item) => {
|
||||
|
Loading…
Reference in New Issue
Block a user