From a292ee7a58b840515dc295e6dae1c8de7785aaf2 Mon Sep 17 00:00:00 2001 From: Lucas dos Santos Abreu Date: Fri, 14 Jun 2024 09:49:03 -0300 Subject: [PATCH] release: v0.53.1 --- CHANGELOG.md | 9 ++++++++- pkg/output/time-entry/duration.go | 2 -- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bb5b37d..c69c7ebd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [v0.53.1] - 2024-06-14 + +### Fixed + +- was printing the language before the duration as float + ## [v0.53.0] - 2024-06-14 ### Added @@ -1204,7 +1210,8 @@ time entry. - Golang CLI using [cobra](https://github.com/spf13/cobra) - Makefile to help setup actions -[Unreleased]: https://github.com/lucassabreu/clockify-cli/compare/v0.53.0...HEAD +[Unreleased]: https://github.com/lucassabreu/clockify-cli/compare/v0.53.1...HEAD +[v0.53.1]: https://github.com/lucassabreu/clockify-cli/releases/tag/v0.53.1 [v0.53.0]: https://github.com/lucassabreu/clockify-cli/releases/tag/v0.53.0 [v0.52.0]: https://github.com/lucassabreu/clockify-cli/releases/tag/v0.52.0 [v0.51.1]: https://github.com/lucassabreu/clockify-cli/releases/tag/v0.51.1 diff --git a/pkg/output/time-entry/duration.go b/pkg/output/time-entry/duration.go index 3e470372..1277789e 100644 --- a/pkg/output/time-entry/duration.go +++ b/pkg/output/time-entry/duration.go @@ -26,8 +26,6 @@ func TimeEntriesTotalDurationOnlyAsFloat( timeEntries []dto.TimeEntry, w io.Writer, l language.Tag) error { p := message.NewPrinter(l) - println(l.String()) - return timeEntriesTotalDurationOnly( func(d time.Duration) string { return p.Sprintf("%f", number.Decimal(d.Hours()))