about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorVladimir Smola <smola.vladimir@gmail.com>2014-10-27 09:28:24 +0700
committerVladimir Smola <smola.vladimir@gmail.com>2014-10-28 21:48:21 +0700
commit9bf82fa7ffbcb97ef5bfdcbd081b0e11c7b79838 (patch)
tree33d691367c3dee2023ceba389a3a7ea0e66e9911 /src/rustllvm/RustWrapper.cpp
parenta34b8dec697014f15e725215e17ea8d956c0ab1a (diff)
downloadrust-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