1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 05:44:53 +00:00
Arsse/tests/cases/Misc
J. King 27caf147df Changes to Date helper class
- Changed 'transform' method to use ValueInfo throughout. This fixes a number of obscure bugs
- Changed the 'add' and 'sub' methods to default to "now" rather than null. This means null passes through rather than being interpreted as the current time, to be consistent with other date tools
- Also changed the 'add' and 'sub' methods so that they operate correctly with invalid date strings
- Added tests for the class; improves #66
- Modified TTRSS tests because the "iso8601" format string in ValueInfo is different from Date's older format
2018-01-02 16:53:38 -05:00
..
TestContext.php Reorganize tests into namespaces 2017-12-21 22:47:19 -05:00
TestDate.php Changes to Date helper class 2018-01-02 16:53:38 -05:00
TestValueInfo.php Standardize date normalization to immutables 2018-01-02 16:27:58 -05:00