-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add column for non-ISO day_of_week #33
Conversation
1. Make explicit that `day_of_week` is ISO 2. Add non-ISO column for those use cases
Hi @davesgonechina, thanks for the PR! You're right that's potentially confusing. However, renaming those columns is going to break a lot of people's downstream models, including mine.
Does that work for you? |
Hey thanks for the quick response @clausherther! Absolutely, let's not break things - but if renaming is going to break things, presumably making Also perhaps the new column should be last to prevent any right shift problems downstream? |
@davesgonechina I'm a little more comfortable with what is essentially a "fix" to |
potentially breaking change
@clausherther done. I did not move the |
@davesgonechina Awesome, looks good so far. I'll run tests tonight and merge to |
Replaces using day of week, which can vary with `isoweek` true or false, instead mapping short to long names
@clausherther |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for making those changes!
when 5 then 'Friday' | ||
when 6 then 'Saturday' | ||
when 7 then 'Sunday' | ||
case dayname({{ date }}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
day_of_week
is ISO