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

expanded export and datetime attrributes #16447

Merged
merged 4 commits into from
Jan 20, 2025

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Jan 16, 2025

Description

Since 5.3.0-beta.1 when running toArray() on a model, the datetime attributes (e.g. dateCreated, dateUpdated) will always show in UTC. Previously, they were using the app’s timezone (Settings > General Settings).

This led to a change in behaviour where expanded export of elements started including the datetime attributes in UTC.

This PR ensures that the datetime attributes are returned in the app’s timezone again.

Related issues

n/a; outcome of a chat with Oli

@i-just i-just requested a review from brandonkelly January 16, 2025 15:10
@brandonkelly brandonkelly changed the base branch from 5.x to 5.6 January 20, 2025 16:06
@brandonkelly brandonkelly merged commit 6438918 into 5.6 Jan 20, 2025
@brandonkelly brandonkelly deleted the bugfix/expanded-export-and-datetime-attrs branch January 20, 2025 16:12
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.

2 participants