Changes between Version 1 and Version 2 of Ticket #13309, comment 6
- Timestamp:
- Jun 10, 2020, 4:49:30 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13309, comment 6
v1 v2 1 1 Proposed changes in [b1da5506a/rjollos.git] (fixed test failure in [2b0c6418b/rjollos.git]). 2 2 3 Once the Python 3 work is integrated I'll try adding more test coverage of `pretty_dateinfo` and `[[TicketQuery(..., format=table, col=time1)]]` using [https://docs.python.org/3/library/unittest.mock.html#unittest.mock.patch unittest.mock.patch] to replace `datetime_now`. Fixing the date //now//will make it easier to deal with the relative datetimes: //in x years//, //x years ago//.3 Once the Python 3 work is integrated I'll try adding more test coverage of `pretty_dateinfo` and `[[TicketQuery(..., format=table, col=time1)]]` using [https://docs.python.org/3/library/unittest.mock.html#unittest.mock.patch unittest.mock.patch] to replace `datetime_now`. Setting a fixed date //now// (rather than using the actual system date) will make it easier to deal with the relative datetimes: //in x years//, //x years ago//.