Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-3557

ZonedDateTime at later offset during DST change gets parsed incorrectly

    Details

      Description

      2011-10-30T02:50+01:00[CET] gets parsed as 2011-10-30T02:50+02:00[CET], i.e. this:

      LocalDateTime.parse( "2011-10-30T02:50:00.00" ).atZone( ZoneId.of( "CET" ) )
      						.withLaterOffsetAtOverlap()
      

      gets parsed as this:

      LocalDateTime.parse( "2011-10-30T02:50:00.00" ).atZone( ZoneId.of( "CET" ) )
      		.withEarlierOffsetAtOverlap(),
      

      This is probably a regression caused by me not restoring the TimeHelper from Search 5, which was effectively working around JDK bug [JDK-8066982](https://bugs.openjdk.java.net/browse/JDK-8066982)

        Attachments

          Activity

            People

            • Assignee:
              yrodiere Yoann Rodière
              Reporter:
              yrodiere Yoann Rodière
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: