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

Locations/entries/date - now takes user local time; #997

Merged
merged 2 commits into from
Nov 10, 2023

Conversation

cityremade
Copy link
Member

Resolved problem of displayed value, unix epochs and formatting for the input of type date.

Works well for me - I see my local time and the unix epoch saved in the db is correct.
Let me know if it works for you as you are both in different timezones.

Resolved problem of displayed value, unix epochs and formatting for the input of type date.
@cityremade
Copy link
Member Author

#966

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Member

@dbauszus-glx dbauszus-glx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent. Works well.

Things I changed in review is const use instead of let.

Naming from d to dateString and t to timeString.

I removed the commented code.

Value should be null if non editable and null.

Value must be taken from newValue if available in edit mode. The view may rebuild from the update of dependents with edits not yet saved.

@dbauszus-glx dbauszus-glx linked an issue Nov 10, 2023 that may be closed by this pull request
@dbauszus-glx dbauszus-glx merged commit ca5330a into GEOLYTIX:main Nov 10, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

type:datetime editing toIsoString transforms time to UTC
2 participants