-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: what is the format in which ti stores time? #4
Comments
Hi @xfim, where exactly did you find the JSON file? I'm trying to see the stored data but can't find the repository this file is generated. Thanks! |
I have it in $HOME/.ti-sheet |
@xfim I believe it's stored simply as a string, but comes from a datetime object using UTC. line 336 is The |
I occasionaly have to edit the json file and it's a pain everytime it (I'm in a -6 timezone). |
I am asking because sometimes I need to edit by hand the file because I have forgotten to start or stop 'ti'. But it turns out that the time stored in the file is one hour before my current time. Therefore, I would like first to ask what is the format in which ti stores the data, and second whether it can be done so in a way that uses the date the user is "living", to avoid having to make translations when editing the file by hand.
Thank you.
The text was updated successfully, but these errors were encountered: