mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fix incorrect format in xml dates
Dates where using (some years ago) iso8601 without taking the timezone
into account, as reported in:
https://github.com/openSUSE/osem/issues/1188
When trying to fix the issue, the date was converted to an incorrect
format which took timezone into account in:
73a6e06fd3
Come back to use iso8601 but taking the timezone into account.
Really fixes https://github.com/openSUSE/osem/issues/1188
Fixes https://github.com/openSUSE/osem/issues/2510
This commit is contained in:
parent
38d3aa8aa5
commit
0837b34369
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@
|
|||
%room{ name: room.name }
|
||||
- events_in_rooms[room].each do |event|
|
||||
%event{ guid: event.guid, id: event.id }
|
||||
%date= time_with_timezone(event.time)
|
||||
%date= event.time.in_time_zone(@conference.timezone).iso8601
|
||||
%start= event.time.strftime('%H:%M')
|
||||
%duration= length_timestamp(event.event_type.length)
|
||||
%room= event.room.name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue