packages feed

lens-datetime 0.1 → 0.1.1

raw patch · 1 files changed

+17/−18 lines, 1 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

lens-datetime.cabal view
@@ -1,5 +1,5 @@ name: lens-datetime-version: 0.1+version: 0.1.1 license: BSD3 license-file: LICENSE author: Mihaly Barasz <mihaly@barasz.com>@@ -34,27 +34,26 @@   .   You can then do the following:   .-  >>> aLocal ^. year-  2013-  >>> aUTC ^. month-  8-   >>> aLocal & time .~ midnight-  2013-08-22 00:00:00-  >>> aUTC & day .~ 1 & month .~ 1-  2013-01-01 02:04:18.9 UTC+  >> aLocal ^. year+  >2013+  >> aUTC ^. month+  >8+  >> aLocal & time .~ midnight+  >2013-08-22 00:00:00+  >> aUTC & day .~ 1 & month .~ 1+  >2013-01-01 02:04:18.9 UTC   .   You can manipulate the date-time values with proper roll-over   behavior via the @FlexibleDateTime@ mechanism:   .-  >>> aLocal & flexDT.month +~ 12-  2014-08-22 13:45:28-  >>> aUTC & flexDT.day +~ 100-  2013-11-30 02:04:18.9 UTC-  >>> aLocal & flexDT.minute +~ 120-  2013-08-22 15:45:28-  >>> aLocal & flexDT %~ ((day +~ 7) . (hour +~ 2))-  2013-08-22 13:45:28-+  >> aLocal & flexDT.month +~ 12+  >2014-08-22 13:45:28+  >> aUTC & flexDT.day +~ 100+  >2013-11-30 02:04:18.9 UTC+  >> aLocal & flexDT.minute +~ 120+  >2013-08-22 15:45:28+  >> aLocal & flexDT %~ ((day +~ 7) . (hour +~ 2))+  >2013-08-22 13:45:28  extra-source-files:   README.md