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

Adapt WCIF date parsing to escape from timezone hell #472

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

gregorbg
Copy link
Member

@gregorbg gregorbg commented Jan 3, 2020

Potentially fixes #471

@gregorbg gregorbg requested a review from campos20 January 3, 2020 16:47
@campos20
Copy link
Member

campos20 commented Jan 4, 2020

Look at the generation date before

Captura de tela de 2020-01-03 23-18-18

And now

Captura de tela de 2020-01-03 23-19-39

Also, LocalDate are cleaner to our case, since we just need yyyy-mm-dd, which is precisely what LocalDate is.

At least for AdelaideSummer your fix worked! I'm finishing the tests later though. Spending 5h to setup kotlin was not funny (issue with the kotlin eclipse plugin that made me download IntelliJ IDEA community; it's quite impressive how we can forget how to code by just switching IDEs).

@gregorbg
Copy link
Member Author

gregorbg commented Jan 4, 2020

Oh boy. Thanks for your patience! What a bummer to hear that you struggled to set up Kotlin 😞 I have a good connection to some JetBrains guys, maybe I can convince them to give some more love to the Eclipse plugin.

Anyways, I've reverted back to LocalDate because your argument absolutely makes sense. The timestamp in the top-left corner is a completely unrelated issue, please disregard for this PR.

@gregorbg
Copy link
Member Author

gregorbg commented Jan 4, 2020

FYI: PDF watermarking is fixed in #473

@campos20
Copy link
Member

campos20 commented Jan 5, 2020

I believe I'll start using kotlin on the native Idellij. Also, as a professor, I have access to the educational version (I use Eclipse just because I think I like it more). Anyways, I filled an issue there :)

Your code passed all scenarios I tested!

@gregorbg
Copy link
Member Author

gregorbg commented Jan 7, 2020

Thank you for the review! (And for the attention of noticing this error in the first place)

@gregorbg gregorbg merged commit a2efa5d into thewca:master Jan 7, 2020
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.

Fix problem with timezones
2 participants