Skip to content
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

activities.current 'from-time' attribute malformed #17

Open
weberval opened this issue Aug 22, 2023 · 1 comment · Fixed by #19 · May be fixed by #18
Open

activities.current 'from-time' attribute malformed #17

weberval opened this issue Aug 22, 2023 · 1 comment · Fixed by #19 · May be fixed by #18
Labels
bug Something isn't working

Comments

@weberval
Copy link

The 'from-time' attribute reported by activities.current is a malformed datetime.datetime.
The date is 1900-01-01 but should be the actual date.

{'attributes': {'comment': 'test',
'date': datetime.date(2023, 8, 22),
'from-time': datetime.datetime(1900, 1, 1, 17, 58, 22),
'not-billable': False,
'review': False,
'to-time': None,
'transferred': False},
'id': '176718',
'relationships': {'task': {'data': {'id': '3604039', 'type': 'tasks'}},
'user': {'data': {'id': '288', 'type': 'users'}}},
'type': 'activities'}


I did not test if this is a problem somewhere else, but I suspect it.
@c0rydoras
Copy link
Collaborator

c0rydoras commented Nov 14, 2023

will be in libtimed v1 as #19 breaks timedctl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants