Skip to content

[Bug] Exported log isn't imported properly #115

@erazemk

Description

@erazemk

I'm using Khronos 3.7.0 from Flathub.

When I try exporting a log, it works fine, but if I try to import that same log, it shows the start and finish time as null.
This is the exported log:

task,timedate,tags
"Test","00∶00∶05sob, 25/06 16∶05∶42 – 16∶05∶48","Tag"

My guess is this is due to improperly parsing the date, which in my case is in the Slovenian locale.
I'm also guessing this issue can be resolved by forcing a specific locale for exports, instead of using the system-defined one (2022-06-25 16:05:42-16:05:48 seems much more readable in exports to me anyway).

When imported the result looks like this:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions