Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Authentication logs with a future datetime #483

Closed
wellingguzman opened this issue Oct 12, 2018 · 6 comments
Closed

Authentication logs with a future datetime #483

wellingguzman opened this issue Oct 12, 2018 · 6 comments
Labels
bug Something isn't working help wanted Extra attention is needed stale

Comments

@wellingguzman
Copy link
Contributor

All activity logs are saved correctly in a UTC time, except authentication which the date time is saved in the future (4hrs).

The datetime value is changed by a hook, but the weird part is that it only seems to happens to authentication activity.

@wellingguzman wellingguzman added the bug Something isn't working label Oct 12, 2018
@wellingguzman
Copy link
Contributor Author

This issue happened to both authentication (requesting token by credentials) and commenting.

It needs to rethink the solution done by 93e6b34

@benhaynes
Copy link
Sponsor Member

I'll re-open this since we need to keep this around and look for a proper fix.

@benhaynes benhaynes reopened this Oct 13, 2018
segunolalive pushed a commit to segunolalive/api that referenced this issue Oct 15, 2018
@benhaynes benhaynes added help wanted Extra attention is needed hacktoberfest labels Oct 24, 2018
@benhaynes
Copy link
Sponsor Member

@rijkvanzanten – this seems to be an App issue. The API is seemingly saving these values correctly (in UTC)... but the App is not converting them back to local time.

@rijkvanzanten
Copy link
Member

I've updated the datetime interface's display component to use the right value in #565

@beac0n
Copy link

beac0n commented Nov 22, 2018

the date time is saved in the future (4hrs).

this also happens with the activity "Item created" in many to many junction tables.

@stale
Copy link

stale bot commented Jan 21, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 21, 2019
wellingguzman added a commit that referenced this issue Jan 28, 2019
samvasko pushed a commit to samvasko/api that referenced this issue Nov 25, 2019
Closes directus#483, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes #4283,
closes #4283, closes #4283, closes #4283, closes #4283, closes directus#427
samvasko pushed a commit to samvasko/api that referenced this issue Nov 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed stale
Projects
None yet
Development

No branches or pull requests

4 participants