Skip to content

Commit

Permalink
fix approx label
Browse files Browse the repository at this point in the history
  • Loading branch information
soywod committed Dec 28, 2019
1 parent 8003f96 commit b88f1bb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.3.1] - 2019-12-28

### Fixed

- Active approx label (from `in ...` to `... ago`)

## [0.3.0] - 2019-12-28

### Added
Expand Down Expand Up @@ -100,8 +106,9 @@ First release :tada:

- Linux binaries

[unreleased]: https://github.com/unfog-io/unfog-cli/compare/v0.3.0...HEAD
[0.2.2]: https://github.com/unfog-io/unfog-cli/compare/v0.2.2...v0.3.0
[unreleased]: https://github.com/unfog-io/unfog-cli/compare/v0.3.1...HEAD
[0.3.1]: https://github.com/unfog-io/unfog-cli/compare/v0.3.0...v0.3.1
[0.3.0]: https://github.com/unfog-io/unfog-cli/compare/v0.2.2...v0.3.0
[0.2.2]: https://github.com/unfog-io/unfog-cli/compare/v0.2.1...v0.2.2
[0.2.1]: https://github.com/unfog-io/unfog-cli/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/unfog-io/unfog-cli/compare/v0.1.4...v0.2.0
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: unfog
version: 0.3.0
version: 0.3.1
github: "unfog-io/unfog-cli"
license: BSD3
author: "Clément DOUIN"
Expand Down
2 changes: 1 addition & 1 deletion src/Query.hs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ execute args state events query = do
putStrLn "unfog <help|h>"
putStrLn "unfog <version|v>"

ShowVersion -> printVersion rtype "0.3.0"
ShowVersion -> printVersion rtype "0.3.1"

Query.Error command message -> printErr rtype $ command ++ ": " ++ message
2 changes: 1 addition & 1 deletion src/Task.hs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ instance ToJSON Task where
, "pos" .= pos
, "desc" .= desc
, "tags" .= tags
, "active" .= TimeRecord (Just active)
, "active" .= TimeRecord (Just (-active))
, "due" .= (TimeRecord due)
, "done" .= if done then 1 else 0 :: Int
, "wtime" .= DurationRecord wtime
Expand Down

0 comments on commit b88f1bb

Please sign in to comment.