Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Date field outputting incorrectly in live preview for multi-site installation with sites in multiple languages #3594

Closed
davefischoff opened this issue Jan 4, 2019 · 1 comment

Comments

@davefischoff
Copy link

Description

I have a Craft 3 multi-site installation with sites that use different languages. When using live preview, date fields are outputting correctly for American English language sites, but not for sites that use other languages. For example, if a date field is set to "10/2/2018" it outputs correctly in the live preview for American English language sites as October 2, 2018, but for a German site it outputs as February 10, 2018 (presumably because European language sites read dates as day/month/year instead of month/day/year). The field does output correctly on the German version of the front end of the site, just not in live preview mode.

Steps to reproduce

  1. Create a multi-site installation with at least one site that uses a language other than American English.
  2. Create an entry with a date field.
  3. Add a date to the date field in the entry, then use live preview to view the date on the non-American English version of the site.

Additional info

  • Craft version: Craft Pro 3.0.34
  • PHP version: 7.2.12
  • Database driver & version: MySQL 5.7.21
@brandonkelly
Copy link
Member

Thanks for reporting that! Fixed for tomorrow’s release.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants