Timezone value is not being saved

Created on 28 December 2022, over 1 year ago
Updated 1 May 2024, about 2 months ago

Problem/Motivation

When I try to save the date (range) with a different timezone than the default one, it does not save my choice when I save the content.

Steps to reproduce

1. Create content type with date range field and the Datetime range with timezone widget;
2. Create node with date/time range field with timezone;
3. Edit node and change the timezone to a different one

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡΅πŸ‡ΉPortugal andrerdiogo Lisbon

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡¦Canada SKAUGHT

    /**
    * Plugin implementation of the 'daterange_timezone' widget.
    *
    * @FieldWidget(
    * id = "daterange_timezone",
    * label = @Translation("Date and time range (with timezone)"),
    * field_types = {
    * "daterange",
    * "daterange_timezone"
    * }
    * )
    */

    re: usecase -- perhaps this module should NOT be allow on daterange?

  • πŸ‡ΊπŸ‡¦Ukraine Mykola Dolynskyi Poltava

    True, widget does not save selected with core field type daterange, but only with module provided daterange_timezone

Production build 0.69.0 2024