-
Notifications
You must be signed in to change notification settings - Fork 180
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
Fix for liquid filter timezone handling #358
Fix for liquid filter timezone handling #358
Conversation
@ginalee-dotcom Hi Gina, Could you please help to check this issue about the default behavior for FormatAsDateTime filter. "Preserve" means preserve the original time zone and "local" means transform the input into local time. "Preserve" is more reasonable here but may lead to breaking change. |
Thanks a lot for the suggestion. |
…fer/pgcritiques-merge * 'main' of github.com:microsoft/FHIR-Converter: Global Readiness Manifest file GeoPol.xml Update version (microsoft#375) Remove blank lines (microsoft#374) Update Doc for Filters (microsoft#365) Switch FormatAsDateTime timezone handling to preserve to maintain consistency (microsoft#358) Revert "reset to local (microsoft#368)" reset to local (microsoft#368) Phase -2, Milestone-3 Mapping (microsoft#366) Change Default Time Zone Handling (microsoft#363) Turn on mac functional test check (microsoft#367) Fix warnings (microsoft#364) Fix Time Zone Bug (microsoft#353) Phase2 - Milestone 1&2 Mapping (microsoft#354) Add check for large for loops (microsoft#361) Updated the logic of checking the number of default templates Update pipeline win host version (microsoft#359)
Currently, all date filters except FormatAsDateTime default to "preserve". With a default of "local", all functional tests seem to fail depending on what timezone they are run in. My assumption is that by default the time would not want to be changed when converting to FHIR.