Skip to content

Commit

Permalink
Merge pull request #3 from serokell/diogo/v0.1.1.0
Browse files Browse the repository at this point in the history
v0.1.1.0 release
  • Loading branch information
dcastro authored Sep 25, 2023
2 parents e6c7a1b + f855b45 commit 542a7be
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,13 @@ you must be able to justify that.

- [ ] My commits comply with [the policy used in Serokell](https://www.notion.so/serokell/Where-and-how-to-commit-your-work-58f8973a4b3142c8abbd2e6fd5b3a08e).
- [ ] My code complies with the [style guide](../tree/main/docs/code-style.md).

## ✓ Release Checklist

- [ ] I updated the version number in `package.yaml`.
- [ ] If any definitions (functions, type classes, instances, etc) were added,
I added [`@since` haddock annotations](https://haskell-haddock.readthedocs.io/en/latest/markup.html#since).
- [ ] (After merging) I created a new entry in the [releases](https://github.com/serokell/tztime/releases) page,
with a summary of all user-facing changes.
* I made sure a tag was created.
- [ ] (After merging) I uploaded the package to [hackage](https://hackage.haskell.org/package/tztime).
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: MPL-2.0

name: tztime
version: 0.1.0.0
version: 0.1.1.0
github: serokell/tztime
license: MPL-2.0
license-file: LICENSE
Expand Down
3 changes: 3 additions & 0 deletions src/Data/Time/TZTime/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,11 @@ tzTimeTZInfo = tztTZInfo
tzTimeOffset :: TZTime -> TimeZone
tzTimeOffset = tztOffset

-- | @since 0.1.1.0
instance HasField "tzTimeLocalTime" TZTime LocalTime where getField = tzTimeLocalTime
-- | @since 0.1.1.0
instance HasField "tzTimeTZInfo" TZTime TZInfo where getField = tzTimeTZInfo
-- | @since 0.1.1.0
instance HasField "tzTimeOffset" TZTime TimeZone where getField = tzTimeOffset

----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion tztime.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cabal-version: 1.12
-- see: https://github.com/sol/hpack

name: tztime
version: 0.1.0.0
version: 0.1.1.0
synopsis: Safe timezone-aware handling of time.
description: This package introduces:
.
Expand Down

0 comments on commit 542a7be

Please sign in to comment.