Skip to content

Date arithmetics sometimes works incorrectly in timezones with daylight saving time. #831

Open
@piotrszul

Description

@piotrszul

If the JVM timezone is set to 'Europe/Warsaw'

'2017-01-01T00:00:00Z' + '9 months' results in '2017-09-30T23:00:00Z' not as expected '2017-10-01T00:00:00Z'

This is cause by a bug in DateTimeType .add() operation (reported here: hapifhir/hapi-fhir#3979)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions