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

RFC3339 as layout for parsing time #2744

Merged
merged 1 commit into from
Apr 19, 2022
Merged

Conversation

amalthundiyil
Copy link
Contributor

The time.Parse() method currently uses 2006-01-02T15:04:05Z0700 as layout for parsing dates. This is somewhat inconsistent with oC Web. This PR changes time.Parse() to use the RFC3339 layout for parsing dates.

Fixes #2322

@update-docs
Copy link

update-docs bot commented Apr 17, 2022

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@labkode labkode merged commit 628915c into cs3org:master Apr 19, 2022
@micbar
Copy link
Member

micbar commented Apr 24, 2022

where was that changed in web?

@amalthundiyil amalthundiyil deleted the time branch May 2, 2022 08:19
ishank011 added a commit to cernbox/reva that referenced this pull request May 19, 2022
ishank011 added a commit to cernbox/reva that referenced this pull request May 19, 2022
ishank011 added a commit to cernbox/reva that referenced this pull request Jun 8, 2022
ishank011 added a commit to ishank011/reva that referenced this pull request Jun 9, 2022
labkode pushed a commit that referenced this pull request Jun 9, 2022
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.

Use colon : for timezone layout when parsing dates
3 participants