Skip to content

expanded export and datetime attrributes#16447

Merged
brandonkelly merged 4 commits into5.6from
bugfix/expanded-export-and-datetime-attrs
Jan 20, 2025
Merged

expanded export and datetime attrributes#16447
brandonkelly merged 4 commits into5.6from
bugfix/expanded-export-and-datetime-attrs

Conversation

@i-just
Copy link
Copy Markdown
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