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

Enable most of the Date/Time functions to accept array arguments #2573

Merged
merged 7 commits into from
Feb 10, 2022

Conversation

MarkBaker
Copy link
Member

This is:

- [ ] a bugfix
- [X] a new feature

Checklist:

Why this change is needed?

Part of the Issue #2551 update to make all relevant functions array-argument-enabled

@MarkBaker MarkBaker force-pushed the Issue-2551_Array-Enabled-DateTime-Functions branch 2 times, most recently from a7eb260 to 5052f40 Compare February 10, 2022 13:29
MarkBaker added 4 commits February 10, 2022 15:37
…assed as arrays; but also accepts a set of trailing date arguments that are accepted as an array by the splat operator. Only the first two arguments should be tested for returning array values; but the logic still needs to work with the full argument set.

Provide a separate "subset" method in the `ArrayEnabled` Trait, that allows a subset of arguments to be tested for array returns.

Set up basic tests for `WORKDAY()`
@MarkBaker MarkBaker force-pushed the Issue-2551_Array-Enabled-DateTime-Functions branch 2 times, most recently from 4de1245 to 54e6ebe Compare February 10, 2022 18:14
@MarkBaker MarkBaker force-pushed the Issue-2551_Array-Enabled-DateTime-Functions branch from 54e6ebe to b741193 Compare February 10, 2022 19:54
@MarkBaker MarkBaker merged commit 5ab3cbc into master Feb 10, 2022
@MarkBaker MarkBaker deleted the Issue-2551_Array-Enabled-DateTime-Functions branch February 10, 2022 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant