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

DM-48923: Provide Times Square support for date and date-time parameters #183

Merged
merged 5 commits into from
Mar 4, 2025

Conversation

jonathansick
Copy link
Member

@jonathansick jonathansick commented Mar 3, 2025

Times Square now supports string parameters with date and date-time formats. The error messages remind the user about the ISO 8601 date / datetime formats. A timezone is required for date-time parameters.

Copy link

changeset-bot bot commented Mar 3, 2025

🦋 Changeset detected

Latest commit: a1a6cbe

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
squareone Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

jonathansick added a commit to lsst-sqre/phalanx that referenced this pull request Mar 3, 2025
This version of Squareone adds support for date and date-time parameters
in Times Square.
lsst-sqre/squareone#183
This will provide access to date and date-time formats.

See https://github.com/ajv-validator/ajv-formats
It seems that the touched prop isn't getting set properly anymore, so
that was supressing the error messages. Next step is to double check the
behaviour of the touched prop.
The stock error message is simply:
- must match format "date"
- must match format "date-time"

These messages explain the ISO format.
@jonathansick jonathansick marked this pull request as ready for review March 4, 2025 21:21
@jonathansick jonathansick merged commit a445705 into main Mar 4, 2025
10 checks passed
@jonathansick jonathansick deleted the tickets/DM-48923 branch March 4, 2025 21:56
@squareone-ci squareone-ci bot mentioned this pull request Mar 4, 2025
jonathansick added a commit to lsst-sqre/phalanx that referenced this pull request Mar 6, 2025
This version of Squareone adds support for date and date-time parameters
in Times Square.
lsst-sqre/squareone#183

https://github.com/lsst-sqre/squareone/releases/tag/squareone%400.19.0
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