discourse/plugins
Loïc Guitaut df8428f7a5 FIX: Serialize time objects properly in calendar plugin
Currently, `#event_starts_at` and `#event_ends_at` are not properly
serialized: we just output the string we have in the custom fields,
which is not necessarily a time string JS can deserialize. Until now it
worked by chance.

With Rails 8, the string format changes a bit to include the timezone,
breaking the deserializing process on the JS side.

This patch addresses the issue by converting the value stored in the
custom fields to a proper time object. Then the serializers, when
rendering JSON, will output a proper ISO8601 formatted string.
2025-07-16 16:14:51 +02:00
..
automation Update translations (#33619) 2025-07-15 13:17:12 -04:00
chat Update translations (#33619) 2025-07-15 13:17:12 -04:00
checklist Update translations (#33326) 2025-06-24 16:29:13 +02:00
discourse-apple-auth DEV: Move discourse-apple-auth to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-assign DEV: Enhance discourse-assign data tracking for components (#33625) 2025-07-16 09:38:03 -03:00
discourse-calendar FIX: Serialize time objects properly in calendar plugin 2025-07-16 16:14:51 +02:00
discourse-chat-integration DEV: Move discourse-chat-integration to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-data-explorer DEV: Move discourse-data-explorer to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-details DEV: Replace toolbar popup menu with DMenu (#33247) 2025-07-03 09:57:16 +10:00
discourse-gamification DEV: Move discourse-calendar to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-graphviz DEV: Move discourse-graphviz to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-hcaptcha DEV: Move discourse-hcaptcha to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-lazy-videos Update translations (#32939) 2025-05-27 22:11:24 +02:00
discourse-local-dates DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
discourse-login-with-amazon DEV: Move discourse-login-with-amazon to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-lti DEV: Move discourse-lti to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-math DEV: Move discourse-math to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-microsoft-auth DEV: Move discourse-microsoft-auth to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-narrative-bot DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
discourse-oauth2-basic DEV: Move discourse-oauth2-basic to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-openid-connect DEV: Move discourse-openid-connect to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-patreon DEV: Move discourse-patreon to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-post-voting DEV: Move discourse-post-voting to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-presence FIX: load saved draft when clicking reply to post (#33543) 2025-07-15 13:32:31 +04:00
discourse-reactions Update translations (#33619) 2025-07-15 13:17:12 -04:00
discourse-rss-polling DEV: Move discourse-rss-polling to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-subscriptions DEV: Move discourse-subscriptions to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-user-notes DEV: Move discourse-user-notes to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-zendesk-plugin DEV: Move discourse-zendesk-plugin to core (#33570) 2025-07-15 16:38:05 +02:00
footnote UX: rich editor footnotes position (#32566) 2025-05-05 09:12:09 -03:00
poll DEV: Ensure streamElement consistency across components (#33638) 2025-07-16 09:24:45 -03:00
spoiler-alert DEV: Replace toolbar popup menu with DMenu (#33247) 2025-07-03 09:57:16 +10:00
styleguide Update translations (#33619) 2025-07-15 13:17:12 -04:00