Commit 588931d
committed
ColTypeDate: update test for "countdown" to match current code
Copy the unit test from "relative" for the positive case of "countdown",
since the code as implemented for "countdown" is identical to the code
for "relative".
I am including this commit, even though the next commit will override
it, to confirm my understanding of how the existing datetime styles
work. Initially I had gotten myself turned in circles because I misread
the "if now < date then add a - sign" logic as an absolute-value
calculation and badly misunderstood the behavior of "age" and "relative".
See #40131 parent a061bdf commit 588931d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | | - | |
| 420 | + | |
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
| |||
0 commit comments