Skip to content

return error from date when only a location is given#970

Open
netliomax25-code wants to merge 1 commit into
expr-lang:masterfrom
netliomax25-code:date-tz-only-guard
Open

return error from date when only a location is given#970
netliomax25-code wants to merge 1 commit into
expr-lang:masterfrom
netliomax25-code:date-tz-only-guard

Conversation

@netliomax25-code
Copy link
Copy Markdown

date(timezone("UTC")) strips the location then reads args[0] unchecked, panicking with a raw index-out-of-range; return the usual arg-count error instead.

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

Successfully merging this pull request may close these issues.

1 participant