-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
This is a regression as previously in v1.8.0 the invalid date time 1963-06-19T08:30:06.28123+01:00Z that has a trailing Z was being rejected but is now being accepted.
This change was introduced at
package com.ethlo.time;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
public class IssueTest {
@Test
void shouldNotAllowTrailingZ() {
Assertions.assertThrows(Exception.class, () -> ITU.parseDateTime("1963-06-19T08:30:06.28123+01:00Z"));
}
}Reactions are currently unavailable