Skip to content

Commit 549f709

Browse files
committed
auto merge of #9734 : luisbg/rust/master, r=alexcrichton
These formats are already covered with 'T' | 'X' in line 571 and 'D' | 'x' in line 446.
2 parents bf416e7 + 72490c9 commit 549f709

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/libextra/time.rs

-2
Original file line numberDiff line numberDiff line change
@@ -600,8 +600,6 @@ pub fn strptime(s: &str, format: &str) -> Result<Tm, ~str> {
600600
None => Err(~"Invalid day of week")
601601
}
602602
}
603-
//'X' {}
604-
//'x' {}
605603
'Y' => {
606604
match match_digits(s, pos, 4u, false) {
607605
Some(item) => {

0 commit comments

Comments
 (0)