Skip to content
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 jodatime IllegalInstantException: Cannot parse.. Illegal inst… #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

petrnalevka
Copy link

…ant due to time zone offset transition

org.joda.time.IllegalInstantException: Cannot parse "2023-09-03": Illegal instant due to time zone offset transition (America/Santiago)
org.joda.time.format.DateTimeParserBucket.computeMillis(SourceFile:390)
org.joda.time.format.DateTimeFormatter.parseMillis(SourceFile:749)
org.joda.time.convert.StringConverter.getInstantMillis(SourceFile:65)
org.joda.time.base.BaseDateTime.(SourceFile:171)
org.joda.time.DateTime.(SourceFile:241)
com.urbandroid.sleep.addon.stats.model.socialjetlag.SleepRegularityIndexUtil.extractSRIScores(SourceFile:172)

…ant due to time zone offset transition

org.joda.time.IllegalInstantException: Cannot parse "2023-09-03": Illegal instant due to time zone offset transition (America/Santiago)
	org.joda.time.format.DateTimeParserBucket.computeMillis(SourceFile:390)
	org.joda.time.format.DateTimeFormatter.parseMillis(SourceFile:749)
	org.joda.time.convert.StringConverter.getInstantMillis(SourceFile:65)
	org.joda.time.base.BaseDateTime.<init>(SourceFile:171)
	org.joda.time.DateTime.<init>(SourceFile:241)
	com.urbandroid.sleep.addon.stats.model.socialjetlag.SleepRegularityIndexUtil.extractSRIScores(SourceFile:172)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant