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 eb0c65c29a
commit f4f964140b
6 changed files with 162 additions and 28 deletions

View File

@@ -324,6 +324,8 @@ onMounted(async () => {
if (settingsStore.settings.close_to_tray === 'true') {
event.preventDefault()
await win.hide()
} else {
await win.destroy()
}
})
} catch (e) {