o'clock uses PVP Versioning. The change log is available on GitHub.
- #129
- Deprecate
toNum
: may cause accidental flooring. - Add the
toFractional
function to avoid the accidental flooring. - Change the order of the type variables in the definition of
floorRat
so that the target type comes first.
- Deprecate
- #131
- Add
ceilingRat
andceilingUnit
.
- Add
- #125:
- Remove
ghc-prim
dependency. - Remove old artifacts of GHC<8.6 support.
- Make
base
constraints stricter.
- Remove
- #121:
- Remove
tasty-hspec
dependency from tests.
- Remove
Bump upper versions of some dependencies.
- #113:
- Increase some upper bounds.
- Drop support for GHC-8.4.
- Drop
deepseq
,serialize
andhashable
flags. - Fix some warnings.
- #110:
Resurrect
o-clock
in nightly resolver. Specifically:- Explicitly support GHC-8.8.
- Bump many upper bounds.
- Make benchmarks not buildable by default.
- Drop support for GHC-8.0 and GHC-8.2.
- Add support for GHC-8.6.1
- #106:
Remove
Num
,Fractional
,Real
,RealFrac
instancies ofTime
. - #100:
Add
Hashable
,NFData
,Serialise
,ToJSON
,FromJSON
instances forTime
.
- #98: Support GHC-8.0.2.
- #95:
Add
Semigroup
andMonoid
instances forTime
. - #93:
Remove
transformers
dependency.
- #85:
Add
fromUnixTime
function. - #71:
Add
toNum
function. - #64:
Add property tests for
unitsP . unitsF ≡ id
- #63:
Rename
Formatting
module toSeries
. AddSeriesP
class for parsing time. - #81:
Rename
TimeStamp
toTimestamp
. - #60:
Show fractional as the last argument in the result of
seriesF
. - #76:
Remove useless instances of
TimeStamp
. Make TimeStamp always deal withSecond
s internally. - #61:
Change
Show
andRead
instances forTime
to use mixed fractions. - #72:
Move
+:+
and-:-
toTimeStamp
module. Make operators*:*
and/:/
fortimeMul
andtimeDiv
. Add-%-
operator. ChangetimeAdd
function to work withTimeStamp
. - #56:
Add
doctest
to documentation. - #62:
Add
.ghci
file. Make time creation helpers work withRatioNat
instead ofNaturals
. Rename+:
to+:+
add-:-
. - #46:
Introduce
...
type to create custom time unit lists in provided bounds. - #51:
Add
IsDescending
type family to check lists of time units inseriesF
function on right order - #45:
Fix behavior of 0 time passed to
seriesF
.
- Initially created. See
README
for more information.