-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Technically speaking, negative duration is not valid ISO 8601, but we need to print it anyway. If `d` is a positive duration with the output `xxxxxxx`, then the expected output of negative `-d` value is `-xxxxxxx`. I.e. the idea is to print negative durations as positive with a leading minus sign. Closes #18181.
- Loading branch information
Showing
1 changed file
with
18 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9bf82fa
There was a problem hiding this comment.
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 1-more@9bf82fa
9bf82fa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging 1-more/rust/feature = 9bf82fa into auto
9bf82fa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1-more/rust/feature = 9bf82fa merged ok, testing candidate = 30e80c92
9bf82fa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
exception: http://buildbot.rust-lang.org/builders/auto-win-64-opt/builds/488
9bf82fa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @brson, I thought these errors weren't supposed to cause failures?
9bf82fa
There was a problem hiding this comment.
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 1-more@9bf82fa
9bf82fa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging 1-more/rust/feature = 9bf82fa into auto
9bf82fa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1-more/rust/feature = 9bf82fa merged ok, testing candidate = 15dd90b
9bf82fa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/2009
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/2008
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/2001
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/2008
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/2003
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/2002
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/2002
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/2006
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1999
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1999
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2002
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/1659
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/1652
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/1660
success: http://buildbot.rust-lang.org/builders/auto-win-64-opt/builds/498
success: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-t/builds/494
success: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-c/builds/487
9bf82fa
There was a problem hiding this comment.
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 = 15dd90b