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 issue 780 #781

Merged
merged 1 commit into from
Aug 9, 2023
Merged

Fix issue 780 #781

merged 1 commit into from
Aug 9, 2023

Conversation

swalker2m
Copy link
Contributor

Fixes #780. Format pattern yyyy switches year 0 to year 1 for some very good reason.

@codecov-commenter
Copy link

Codecov Report

Patch and project coverage have no change.

Comparison is base (40ca512) 78.84% compared to head (c432620) 78.84%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #781   +/-   ##
=======================================
  Coverage   78.84%   78.84%           
=======================================
  Files         113      113           
  Lines        1494     1494           
  Branches        3        3           
=======================================
  Hits         1178     1178           
  Misses        316      316           

see 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -67,7 +67,7 @@ object Dataset {
Option.when(localDate.getYear >= 0 && localDate.getYear <= 9999)(Filename(site, localDate, index))

private val DateFormatter: DateTimeFormatter =
DateTimeFormatter.ofPattern("yyyyMMdd")
DateTimeFormatter.ofPattern("uuuuMMdd")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uhh interesting, is this working on the js side of things?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, now passes both JVM and JS.

Copy link
Collaborator

@cquiroz cquiroz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@swalker2m swalker2m merged commit f1b49e0 into master Aug 9, 2023
9 checks passed
@swalker2m swalker2m deleted the issue780 branch August 9, 2023 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DatasetSuite Failure
3 participants