DateTimeFormatter.ofPattern
not working as expected with "zone-offset"
#686
Labels
DateTimeFormatter.ofPattern
not working as expected with "zone-offset"
#686
Hi!
I'm not sure if this is a bug or if I misunderstand something here.
If I create a pattern with "zone-offset" using
X
and try to parse a string with+02:00
,+02:30
, etc. it throws aJsJodaException
. Removing just the:XY
part of the string I'm trying to parse make it work again.Is this intended?
Example using
@js-joda/core@5.5.3
:The text was updated successfully, but these errors were encountered: