##// END OF EJS Templates
tests: use basic format code "%Y" instead of "%s" for test portability...
FUJIWARA Katsunori -
r30237:94ef2f00 stable
parent child Browse files
Show More
@@ -31,10 +31,10
31
31
32 Test arithmetic operators have the right precedence:
32 Test arithmetic operators have the right precedence:
33
33
34 $ hg log -l 1 -T '{date(date, "%s") + 5 * 10} {date(date, "%s") - 2 * 3}\n'
34 $ hg log -l 1 -T '{date(date, "%Y") + 5 * 10} {date(date, "%Y") - 2 * 3}\n'
35 1500051 1499995
35 2020 1964
36 $ hg log -l 1 -T '{date(date, "%s") * 5 + 10} {date(date, "%s") * 3 - 2}\n'
36 $ hg log -l 1 -T '{date(date, "%Y") * 5 + 10} {date(date, "%Y") * 3 - 2}\n'
37 7500015 4500001
37 9860 5908
38
38
39 Test division:
39 Test division:
40
40
General Comments 0
You need to be logged in to leave comments. Login now