Skip to content

fix: alias IsDateString() decorator to IsISO8601() - #672

Merged
NoNameProvided merged 1 commit into
typestack:developfrom
kathawala:develop
Aug 4, 2020
Merged

NoNameProvided merged 1 commit into
typestack:developfrom
kathawala:develop

Conversation

@kathawala

Copy link
Copy Markdown
Contributor

Description

IsDateString() decorator now aliased to IsISO8601() meaning both decorators have the same functionality.

Also added extra tests to make sure IsDateString is parsing ISO8601 dates correctly.

Also added documentation in README.md to make clear that the two decorators have same functionality.

Checklist

  • the pull request title describes what this PR does (not a vague title like Update index.md)
  • the pull request targets the default branch of the repository (develop)
  • the code follows the established code style of the repository
    • npm run prettier:check passes
    • npm run lint:check passes
  • tests are added for the changes I made (if any source code was modified)
  • documentation added or updated
  • I have run the project locally and verified that there are no errors

Fixes

fixes #412

Also added extra tests to make sure IsDateString is parsing ISO8601 dates correctly.

Also added documentation in `README.md` to make clear that the two decorators have same functionality.

This helps resolve typestack#412 where the conclusion was reached to take this step.
@NoNameProvided
NoNameProvided merged commit 2d31fbd into typestack:develop Aug 4, 2020
@NoNameProvided

Copy link
Copy Markdown
Member

Thanks!

@github-actions

github-actions Bot commented Sep 4, 2020

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

isDateString does not follow ISO-8601 ?

2 participants