Skip to content

Commit

Permalink
extra: remove commented out 'X' and 'x' formats
Browse files Browse the repository at this point in the history
These formats are already covered with 'T' | 'X' in line 571 and 'D' | 'x' in
line 446.
  • Loading branch information
luisbg committed Oct 5, 2013
1 parent 0c388be commit 72490c9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libextra/time.rs
Expand Up @@ -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) => {
Expand Down

5 comments on commit 72490c9

@bors
Copy link
Contributor

@bors bors commented on 72490c9 Oct 6, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at luisbg@72490c9

@bors
Copy link
Contributor

@bors bors commented on 72490c9 Oct 6, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging luisbg/rust/master = 72490c9 into auto

@bors
Copy link
Contributor

@bors bors commented on 72490c9 Oct 6, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

luisbg/rust/master = 72490c9 merged ok, testing candidate = 549f709

@bors
Copy link
Contributor

@bors bors commented on 72490c9 Oct 6, 2013

@bors
Copy link
Contributor

@bors bors commented on 72490c9 Oct 6, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 549f709

Please sign in to comment.