Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-parse-date @ 3251:e5c9a084ffe3
util.strdate: assume local time when no timezone specified
author | Jose M. Prieto <jmprieto@gmx.net> |
---|---|
date | Tue, 03 Oct 2006 12:33:18 +0200 |
parents | e96d2956eb4a |
children |
comparison
equal
deleted
inserted
replaced
3250:e96d2956eb4a | 3251:e5c9a084ffe3 |
---|---|
19 TZ="PST+8PDT" | 19 TZ="PST+8PDT" |
20 export TZ | 20 export TZ |
21 # PST=UTC-8 / PDT=UTC-7 | 21 # PST=UTC-8 / PDT=UTC-7 |
22 hg debugrebuildstate | 22 hg debugrebuildstate |
23 echo "a" > a | 23 echo "a" > a |
24 hg ci -d "2006-07-15 13:30" -m "summer@UTC" | 24 hg ci -d "2006-07-15 13:30" -m "summer@UTC-7" |
25 hg debugrebuildstate | 25 hg debugrebuildstate |
26 echo "b" > a | 26 echo "b" > a |
27 hg ci -d "2006-07-15 13:30 +0500" -m "summer@UTC+5" | 27 hg ci -d "2006-07-15 13:30 +0500" -m "summer@UTC+5" |
28 hg debugrebuildstate | 28 hg debugrebuildstate |
29 echo "c" > a | 29 echo "c" > a |
30 hg ci -d "2006-01-15 13:30" -m "winter@UTC" | 30 hg ci -d "2006-01-15 13:30" -m "winter@UTC-8" |
31 hg debugrebuildstate | 31 hg debugrebuildstate |
32 echo "d" > a | 32 echo "d" > a |
33 hg ci -d "2006-01-15 13:30 +0500" -m "winter@UTC+5" | 33 hg ci -d "2006-01-15 13:30 +0500" -m "winter@UTC+5" |
34 hg log --template '{date|date}\n' | 34 hg log --template '{date|date}\n' |