Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Petite erreur sur les emplois du temps

  • Loading branch information...
commit 4df91bd47ee95703658a53fdaa3078aba41a8b22 1 parent 9c220fb
Dorian Marié Dorian authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/tasks/import/schedules.rake
3  lib/tasks/import/schedules.rake
View
@@ -39,7 +39,7 @@ namespace :import do
ts['start'][0].hours + ts['start'][1].minutes,
# Durée : fin - début (heures et minutes)
duration: (ts['end'][0] - ts['start'][0])*60 +
- ts['end'][1] - ts['start'][0],
+ ts['end'][1] - ts['start'][1],
# Semaine A, semaine B ou rien
week: ts['weekname'] == 'T' ? nil : ts['weekname'],
room: ts['room'], # Salle
@@ -86,4 +86,3 @@ namespace :import do
end
end
end
-
Please sign in to comment.
Something went wrong with that request. Please try again.