Skip to content

Commit

Permalink
end day ror
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed May 14, 2018
1 parent 044e81e commit 4d334f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/create_wm_ror.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ create_wm_ror <- function(data, start = NULL, startday = "samedi", sort_areas =

#On cherche le jour précedent a notre date de prevision
endday <- as.numeric(format(start, "%u")) - 1
if (endday < 1) {
endday <- 7
}

#on recupere les dates de debut et
date_ini_fil <- get_previous(startday, date = start)
Expand Down

0 comments on commit 4d334f2

Please sign in to comment.