Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order wday from Mon to Sun #551

Closed
estroger34 opened this issue Jun 13, 2017 · 1 comment
Closed

Order wday from Mon to Sun #551

estroger34 opened this issue Jun 13, 2017 · 1 comment

Comments

@estroger34
Copy link

wday(label = T) returns the day of the week as an ordered factor with Sunday being the first day of the week. It would be nice to have an option for an alternative order with Monday being the first day. Having both weekend days together at the end of a weekly profile is often beneficial.

@estroger34 estroger34 changed the title Oder wday from Mon to Sun Order wday from Mon to Sun Jun 13, 2017
@cderv
Copy link
Contributor

cderv commented Jun 13, 2017

duplicates of #257
It is already taken into account in last dev version. You can install it from github.

see NEWS.md
New wday function

wday(x, label = FALSE, abbr = TRUE,
  week_start = getOption("lubridate.week.start", 7),
  locale = Sys.getlocale("LC_TIME"))

@vspinu vspinu closed this as completed Oct 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants