Show More
@@ -31,10 +31,10 b'' | |||||
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, "% |
|
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, "% |
|
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