Skip to content

isodatetodecimaldate() optional param to handle invalid dates - #1

Merged
danrademacher merged 1 commit into
OpenHistoricalMap:masterfrom
gregallensworth:master
Sep 18, 2020
Merged

danrademacher merged 1 commit into
OpenHistoricalMap:masterfrom
gregallensworth:master

Conversation

@gregallensworth

Copy link
Copy Markdown
Contributor

This addresses a request in OpenHistoricalMap/issues#146 that the isodatetodecimaldate() function, may accept a parameter to define how to handle invalid dates.

Current behavior is retained, that invalid dates are an exception.

The new parameter, allows a choice of returning NULL or else trying to return a decimal as much as possible.

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.

2 participants