diff options
| author | Vladimir Smola <smola.vladimir@gmail.com> | 2014-10-27 09:28:24 +0700 |
|---|---|---|
| committer | Vladimir Smola <smola.vladimir@gmail.com> | 2014-10-28 21:48:21 +0700 |
| commit | 9bf82fa7ffbcb97ef5bfdcbd081b0e11c7b79838 (patch) | |
| tree | 33d691367c3dee2023ceba389a3a7ea0e66e9911 /src/rustllvm/RustWrapper.cpp | |
| parent | a34b8dec697014f15e725215e17ea8d956c0ab1a (diff) | |
| download | rust-9bf82fa7ffbcb97ef5bfdcbd081b0e11c7b79838.tar.gz rust-9bf82fa7ffbcb97ef5bfdcbd081b0e11c7b79838.zip | |
Fix the output of negative duration
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
