fix(maplibre): update date format to ISO 8601 (#2029)

This commit is contained in:
Robin Tuszik 2025-12-12 00:21:21 +01:00 committed by GitHub
parent 2a4ed8bf82
commit 353837e27f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,8 +5,8 @@
<div id="maps-maplibre-container"
data-controller="maps--maplibre area-drawer maps--maplibre-realtime"
data-maps--maplibre-api-key-value="<%= current_user.api_key %>"
data-maps--maplibre-start-date-value="<%= @start_at.to_s %>"
data-maps--maplibre-end-date-value="<%= @end_at.to_s %>"
data-maps--maplibre-start-date-value="<%= @start_at.iso8601 %>"
data-maps--maplibre-end-date-value="<%= @end_at.iso8601 %>"
data-maps--maplibre-timezone-value="<%= current_user.timezone %>"
data-maps--maplibre-realtime-enabled-value="true"
style="width: 100%; height: 100%; position: relative;">