From b98f2199a85f08a20d6923f225f9af09f4f2b779 Mon Sep 17 00:00:00 2001 From: Tobias Matz Date: Wed, 19 Jun 2024 09:35:46 +0200 Subject: [PATCH] Change type of PublicTransportStop attributes --- lib/ioki/model/operator/public_transport_stop.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ioki/model/operator/public_transport_stop.rb b/lib/ioki/model/operator/public_transport_stop.rb index 92efa2f6..addee8a7 100644 --- a/lib/ioki/model/operator/public_transport_stop.rb +++ b/lib/ioki/model/operator/public_transport_stop.rb @@ -21,11 +21,11 @@ class PublicTransportStop < Base on: :read attribute :current_arrival, - type: :string, + type: :date_time, on: :read attribute :current_departure, - type: :string, + type: :date_time, on: :read attribute :current_platform, @@ -61,11 +61,11 @@ class PublicTransportStop < Base on: :read attribute :scheduled_arrival, - type: :string, + type: :date_time, on: :read attribute :scheduled_departure, - type: :string, + type: :date_time, on: :read attribute :scheduled_platform,