diff --git a/dhmd-veranstaltungen/scrape.rb b/dhmd-veranstaltungen/scrape.rb index 5a5ceef..a8046ba 100644 --- a/dhmd-veranstaltungen/scrape.rb +++ b/dhmd-veranstaltungen/scrape.rb @@ -33,7 +33,7 @@ class Event when /^(\d+)$/ @dtstart = Time::local year, month, day, $1.to_i, 0, 0 when /^(\d+):(\d+)$/ - @dtstart = Time::local year, month, day, $2.to_i, $1.to_i, 0 + @dtstart = Time::local year, month, day, $1.to_i, $2.to_i, 0 when /^(\d+)\s*-\s*(\d+)/ @dtstart = Time::local year, month, day, $1.to_i, 0, 0 @dtend = Time::local year, month, day, $2.to_i, 0, 0