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

refactor: unify local time and service date logic #2420

Merged
merged 1 commit into from
Jan 28, 2025
Merged

Conversation

digitalcora
Copy link
Contributor

@digitalcora digitalcora commented Jan 27, 2025

  • Replaces a multitude of slightly different one-off routines for translating a datetime into a "service date" with calls to a shared utility function.
  • Replaces a bunch of duplicated America/New_York strings with calls to a new utility function.

@digitalcora digitalcora marked this pull request as ready for review January 27, 2025 22:18
@digitalcora digitalcora requested a review from a team as a code owner January 27, 2025 22:18
@digitalcora digitalcora force-pushed the cfg-service-day branch 3 times, most recently from 528009d to aa43035 Compare January 28, 2025 14:49
lib/screens/util.ex Outdated Show resolved Hide resolved
* Replaces a multitude of slightly different one-off routines for
  translating a datetime into a "service date" with calls to a shared
  utility function.

* Replaces a bunch of duplicated `America/New_York` strings with calls
  to a new utility function.
Copy link
Contributor

@PaulJKim PaulJKim left a comment

Choose a reason for hiding this comment

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

Looks good!

@digitalcora digitalcora merged commit b465ef0 into main Jan 28, 2025
12 checks passed
@digitalcora digitalcora deleted the cfg-service-day branch January 28, 2025 19:03
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.

2 participants