Skip to content

Commit

Permalink
fix: Properly setup M&G slots (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
aheritier committed Apr 4, 2023
1 parent c7d3aa8 commit 9ddb419
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions app/models/ConferenceDescriptor.scala
Expand Up @@ -439,8 +439,8 @@ object ConferenceDescriptor {
new DateTime(s"${secondDay}T20:00:00.000+02:00").toDateTime(confTimezone),
new DateTime(s"${secondDay}T21:30:00.000+02:00").toDateTime(confTimezone), ConferenceRooms.LOBBY_NEUILLY)
val massage = SlotBuilder(ConferenceProposalTypes.OTHER.id, "thursday",
new DateTime(s"${secondDay}T19:30:00.000+02:00").toDateTime(confTimezone),
new DateTime(s"${secondDay}T23:00:00.000+02:00").toDateTime(confTimezone), ConferenceRooms.LOBBY_PARIS)
new DateTime(s"${secondDay}T18:15:00.000+02:00").toDateTime(confTimezone),
new DateTime(s"${secondDay}T22:30:00.000+02:00").toDateTime(confTimezone), ConferenceRooms.LOBBY_PARIS)
List(theVoxx,improvisationalTheatre,massage)
}

Expand Down Expand Up @@ -661,19 +661,19 @@ object ConferenceDescriptor {
new DateTime(s"${secondDay}T10:45:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks))
, SlotBuilder(ConferenceSlotBreaks.lunch, "thursday",
new DateTime(s"${secondDay}T12:30:00.000+02:00").toDateTime(confTimezone),
new DateTime(s"${secondDay}T13:00:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks))
new DateTime(s"${secondDay}T13:00:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks,ConferenceRooms.LOBBY_NEUILLY))
, SlotBuilder(ConferenceSlotBreaks.lunch, "thursday",
new DateTime(s"${secondDay}T13:00:00.000+02:00").toDateTime(confTimezone),
new DateTime(s"${secondDay}T13:15:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks))
new DateTime(s"${secondDay}T13:15:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks,ConferenceRooms.LOBBY_NEUILLY))
, SlotBuilder(ConferenceSlotBreaks.lunch, "thursday",
new DateTime(s"${secondDay}T13:15:00.000+02:00").toDateTime(confTimezone),
new DateTime(s"${secondDay}T13:30:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks))
new DateTime(s"${secondDay}T13:30:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks,ConferenceRooms.LOBBY_NEUILLY))
, SlotBuilder(ConferenceSlotBreaks.coffee, "thursday",
new DateTime(s"${secondDay}T16:15:00.000+02:00").toDateTime(confTimezone),
new DateTime(s"${secondDay}T16:45:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks))
new DateTime(s"${secondDay}T16:45:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks,ConferenceRooms.LOBBY_NEUILLY))
, SlotBuilder(ConferenceSlotBreaks.shortBreak, "thursday",
new DateTime(s"${secondDay}T18:15:00.000+02:00").toDateTime(confTimezone),
new DateTime(s"${secondDay}T18:30:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks))
new DateTime(s"${secondDay}T18:30:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks,ConferenceRooms.LOBBY_NEUILLY))
, SlotBuilder(ConferenceSlotBreaks.meetAndGreet, "thursday",
new DateTime(s"${secondDay}T19:00:00.000+02:00").toDateTime(confTimezone),
new DateTime(s"${secondDay}T19:30:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks))
Expand All @@ -691,6 +691,9 @@ object ConferenceDescriptor {
new DateTime(s"${secondDay}T21:50:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks,ConferenceRooms.NEUILLY_251,ConferenceRooms.LOBBY_NEUILLY))
, SlotBuilder(ConferenceSlotBreaks.empty, "thursday",
new DateTime(s"${secondDay}T21:50:00.000+02:00").toDateTime(confTimezone),
new DateTime(s"${secondDay}T22:30:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks,ConferenceRooms.NEUILLY_251,ConferenceRooms.LOBBY_NEUILLY))
, SlotBuilder(ConferenceSlotBreaks.empty, "thursday",
new DateTime(s"${secondDay}T22:30:00.000+02:00").toDateTime(confTimezone),
new DateTime(s"${secondDay}T23:00:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks,ConferenceRooms.NEUILLY_251))
).flatten

Expand All @@ -703,7 +706,7 @@ object ConferenceDescriptor {
new DateTime(s"${thirdDay}T10:45:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks))
, SlotBuilder(ConferenceSlotBreaks.lunch, "friday",
new DateTime(s"${thirdDay}T12:30:00.000+02:00").toDateTime(confTimezone),
new DateTime(s"${thirdDay}T13:00:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks))
new DateTime(s"${thirdDay}T13:00:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks,ConferenceRooms.LOBBY_NEUILLY))
, SlotBuilder(ConferenceSlotBreaks.lunch, "friday",
new DateTime(s"${thirdDay}T13:00:00.000+02:00").toDateTime(confTimezone),
new DateTime(s"${thirdDay}T13:15:00.000+02:00").toDateTime(confTimezone), List(firstRoomForBreaks))
Expand Down

0 comments on commit 9ddb419

Please sign in to comment.