DateTimeZone::__construct(): Unknown or bad timezone () in DateTimeZone->__construct()

Created on 30 January 2024, over 1 year ago

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!! Delete parts not applicable !!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

How to Reproduce

  1. Create View page with Full Calendar Display format.
  2. Add fields with Dates with Recurring dates field data type.
πŸ› Bug report
Status

Active

Version

3.5

Component

Code

Created by

πŸ‡΅πŸ‡­Philippines _renify_ cebu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @_renify_
  • πŸ‡΅πŸ‡­Philippines _renify_ cebu
  • πŸ‡΅πŸ‡­Philippines _renify_ cebu
  • Status changed to Closed: works as designed over 1 year ago
  • πŸ‡¦πŸ‡ΊAustralia dpi Perth, Australia

    There is no circumstance in which a timezone may be empty or invalid.

    Its likely malformed data came in from programmatic code, a bad widget, or a migration.

    Please fix the source data in your field data tables.

  • πŸ‡¨πŸ‡¦Canada joelpittet Vancouver

    Just an FYI, we ran into this and it wasn't the data being wrong, it was a views aggregated field that needed timezone added to the "Group Columns" or it didn't have access to the value.
    Hope that helps anybody struggling with this one and pulling their hair out as we were.

  • πŸ‡ΊπŸ‡ΈUnited States attheshow

    We were having this issue when editing an event node with a recurring date field, then clicking Preview, then Return to content editing. One additional error popped up, however, when using the patch from #3 so I'm posting a slight modification to that patch that seems to be more stable for us and resolves the errors that we've seen.

  • πŸ‡¨πŸ‡¦Canada joelpittet Vancouver

    Thanks for sharing, the patch seems to suggest that maybe we are stepping on our own feet here. At that point in the code was the time zone already sent.?

Production build 0.71.5 2024