-
Notifications
You must be signed in to change notification settings - Fork 3
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
Added function to edit start/end time of entry. #4
Conversation
Looks good. The documentation gives the impression that whether to use time span or durations is dictated by the (company) account settings, and it would seem so. If I inspect
Editing an entry using timespans doesn't work, it stays at the same duration. Can you confirm the reverse case is true for you? I hope it is, then we can rename I would have liked some validation on the time strings before passing them to Harvest, but I can see I forgot myself in |
I can confirm that in duration mode I can not edit start/end time and in timespan mode I can not edit duration. |
I've added custom variable now and updated the function accordingly. |
Validation on the time string is a nice addition. I can look into it. |
Nice. Actually, we don't need the custom variable, we can just check if the edited time entry has a start time. |
Is that documented behavior? If not then it's not a reliable solution because |
Somewhat:
We've already established that editing an entry that doesn't have a |
Indeed there is a way to know if a Harvest expects duration based time tracking or not.
I checked and i'm able to request company settings with my API key. Could you please verify that it works for you as well? |
It does, but the documentation also clearly states that |
I see. I agree here. The documentation also says that |
I prefer |
Ok. Make sense. |
9e665e1
to
039168a
Compare
Does this still work for you? I guess |
039168a
to
5955910
Compare
Fixes #1.