Skip to content

Commit b42b386

Browse files
Merge branch 'bugfix/LF-3458/update-date-time-conversion-functions' into 'master'
Update the date and time conversion functions according to the spec See merge request lfor/fhirpath.js!55
2 parents 8fe240f + 7739ba4 commit b42b386

7 files changed

Lines changed: 468 additions & 123 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
This log documents significant changes for each release. This project follows
44
[Semantic Versioning](http://semver.org/).
55

6+
## [4.8.5] - 2026-01-28
7+
### Fixed
8+
- Fixed toDate(), toDateTime(), and toTime() conversion functions to support
9+
conversion from their corresponding FHIRPath type instances in addition to
10+
strings:
11+
- toDate() now accepts Date instances (returns as-is) and DateTime
12+
instances (extracts date portion)
13+
- toDateTime() now accepts DateTime instances (returns as-is) and Date
14+
instances (converts to DateTime)
15+
- toTime() now accepts Time instances (returns as-is)
16+
617
## [4.8.4] - 2026-01-27
718
### Fixed
819
- Root type name support in expression prefixes: now expressions like

demo/package-lock.json

Lines changed: 79 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)