Issue 535 Improve Date math
Updated 1 year, 8 months ago
| David Pollak | Reviewers | ||
| dpp, marius, charles, heiko, joni, atsuhiko, jorge, naftoli, kris, indrajit, alexb, dlouwers, mstarzyk, rmellgren, jhoffman, probinett, jmadsen, mhartmann, jstrachan, jgoday | |||
| None | LiftWeb-archive | ||
https://liftweb.assembla.com/spaces/liftweb/tickets/535-jodatime-support-in-datetimehelpers dpp_issue_535 Updated the internals of TimeHelpers to use JodaTime for calculations. Added some implicit conversions to and from Date and JodaTime's classes to/from TimeSpans. This should achieve Derek's goals of supporting JodaTime but with far less breakage with existing apps. Basically, TimeSpan will convert itself implicitly into either a Date or a DateTime.
Passes existing tests.
