Bug 19816: Regression tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 24 Jan 2019 17:27:28 +0000 (14:27 -0300)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 12 Feb 2019 02:40:54 +0000 (02:40 +0000)
commit12f0e63b3aa7c0386b2764d51472eac2b5379b06
tree7acfec39c27e57134c43017aba732928cc4799bb
parentf69a3ef8755b9e82f1912055e3049b47dd0becf9
Bug 19816: Regression tests

This patch adds tests for the rfc3339 behaviour when dateonly => 1.

To test:
- Run:
  $ kshell
 k$ prove t/DateUtils.t
=> SUCCESS: Tests pass
- Apply this patch
- Run:
 k$ prove t/DateUtils.t
=> FAIL: dateonly is not implemented

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 7e69ab62a5ef3fbd350c6606d25b5ab6f6bc168e)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 41115fc79dfd16be62dd56e1946e0a2e08c6a2fc)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
t/DateUtils.t