You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When exporting entries to CSV, custom Date fields are exported in UTC format, while system fields (dateCreated, dateUpdated) are correctly exported in the site's configured timezone (JST/UTC+9).
Steps to reproduce
Configure Craft CMS site timezone to 'Asia/Tokyo' in config/general.php
Create a custom Date field (with "Show Time Field" disabled)
Create an entry and set a date value
Export entries to CSV using the Expanded format
Expected behavior
Custom Date fields should be exported in the site's configured timezone (JST/UTC+9), matching the behavior of system fields.
Actual behavior
System fields (dateCreated, dateUpdated): Correctly exported in JST (UTC+9)
Example: 2025-01-22T15:08:50+09:00
Custom Date fields: Exported in UTC
Example: {"date":"1974-03-16 15:00:00"}
What happened?
Description
When exporting entries to CSV, custom Date fields are exported in UTC format, while system fields (dateCreated, dateUpdated) are correctly exported in the site's configured timezone (JST/UTC+9).
Steps to reproduce
Expected behavior
Custom Date fields should be exported in the site's configured timezone (JST/UTC+9), matching the behavior of system fields.
Actual behavior
Example: 2025-01-22T15:08:50+09:00
Example: {"date":"1974-03-16 15:00:00"}
Additional Notes
Craft CMS version
Craft CMS version: 5.6.1
PHP version
PHP version: 8.4
Operating system and version
No response
Database type and version
Database: MySQL 8.0.40
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: