fix: close button and CSV import parsing for Clockify/Harvest

Close button did nothing when "close to tray" was disabled - the
onCloseRequested handler lacked an explicit destroy call for the
non-tray path.

Clockify CSV import threw RangeError because locale-dependent date
formats (MM/DD/YYYY, DD.MM.YYYY, 12h time) were passed straight
to the Date constructor. Added flexible date/time parsers that
handle all Clockify export variants without relying on Date parsing.

Added dedicated Clockify mapper that prefers Duration (decimal)
column and a new Harvest CSV importer (date + decimal hours, no
start/end times).

Bump version to 1.0.1.
This commit is contained in:
Your Name
2026-02-21 14:56:53 +02:00
parent 7b118c1a1c
commit ad0bdc05be
6 changed files with 162 additions and 28 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "zeroclock"
version = "1.0.0"
version = "1.0.1"
description = "A local time tracking app with invoicing"
authors = ["you"]
edition = "2021"