Skip to content

Commit

Permalink
Merge pull request #135 from serokell/diogo/1.3.0-release
Browse files Browse the repository at this point in the history
[Chore] Fix release number
  • Loading branch information
dcastro authored Oct 7, 2022
2 parents 10ce57b + e157300 commit 12eb2fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The change log is available [on GitHub][2].
Unreleased
=====

1.3
1.3.0
=====

* [#129](https://github.com/serokell/o-clock/pull/129)
Expand Down
2 changes: 1 addition & 1 deletion o-clock.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cabal-version: 2.2
-- SPDX-License-Identifier: MPL-2.0

name: o-clock
version: 1.3
version: 1.3.0
synopsis: Type-safe time library.
description: See README.md for details.
homepage: https://github.com/serokell/o-clock
Expand Down
6 changes: 3 additions & 3 deletions src/Time/Units.hs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ floorUnit = time . fromIntegral @Natural . floorRat

-- | Returns the smallest integer greater than or equal to the given 'Time'.
--
-- @since 1.3
-- @since 1.3.0
ceilingRat :: forall b (unit :: Rat) . (Integral b) => Time unit -> b
ceilingRat = ceiling . unTime

Expand All @@ -338,7 +338,7 @@ ceilingRat = ceiling . unTime
>>> ceilingUnit $ ps 42
42ps
@since 1.3
@since 1.3.0
-}
ceilingUnit :: forall (unit :: Rat) . Time unit -> Time unit
ceilingUnit = time . fromIntegral @Natural . ceilingRat
Expand Down Expand Up @@ -388,7 +388,7 @@ __Examples:__
>>> toFractional @Double $ hour (1 % 8)
0.125
@since 1.3
@since 1.3.0
-}
toFractional :: forall r (unit :: Rat) . Fractional r => Time unit -> r
toFractional = fromRational . toRational . unTime
Expand Down

0 comments on commit 12eb2fe

Please sign in to comment.