Commit 6161ec3
authored
chore: version packages (#18)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.
# Releases
## @taskade/temporal-parser@1.2.1
### Patch Changes
- 3f20258: Add support for ISO 8601 basic format and bare hours in
`parseTimeString()`
**New formats supported:**
1. **ISO 8601 basic format** (compact, no colons):
- `"1430"` → 14:30
- `"143045"` → 14:30:45
- `"143045.123"` → 14:30:45.123
2. **Bare hours** (defaults to :00 minutes):
- `"7"` → 7:00
- `"7 AM"` → 7:00 AM
- `"23"` → 23:00
The parser intelligently detects the format based on digit count and
presence of colons, maintaining full backward compatibility with
existing formats.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent 3f20258 commit 6161ec3
3 files changed
Lines changed: 19 additions & 20 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
3 | 21 | | |
4 | 22 | | |
5 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments