about summary refs log tree commit diff
path: root/src/rt/rust_stack.cpp
diff options
context:
space:
mode:
authorAshok Gautham <ScriptDevil@gmail.com>2013-01-13 16:48:34 +0530
committerAshok Gautham <ScriptDevil@gmail.com>2013-01-13 17:18:10 +0530
commit406d2b3bfe6336c71b6aedd202bb896fc47b2587 (patch)
tree4b9e64a76a0bb78d3b13e86a4f858e18506757c8 /src/rt/rust_stack.cpp
parentca9358388a7deeffd9f645d08a5755248b0a7a2a (diff)
downloadrust-406d2b3bfe6336c71b6aedd202bb896fc47b2587.tar.gz
rust-406d2b3bfe6336c71b6aedd202bb896fc47b2587.zip
Fix errors in how parsed time values were used
%u flag takes a value in the range of 1-7. However value needs to be
stored in tm.tm_wday between 0 and 6.
%y takes a two-digit year value. Subtracting 1900_i32 from it is not
needed.
Diffstat (limited to 'src/rt/rust_stack.cpp')
0 files changed, 0 insertions, 0 deletions