Browse files

Petite erreur sur les emplois du temps

  • Loading branch information...
1 parent 9c220fb commit 4df91bd47ee95703658a53fdaa3078aba41a8b22 @Dorian Dorian committed May 23, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/tasks/import/schedules.rake
View
3 lib/tasks/import/schedules.rake
@@ -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
-

0 comments on commit 4df91bd

Please sign in to comment.