appifyhub / monolith

The backbone backend service of Appify Hub
https://appifyhub.com
MIT License
1 stars 0 forks source link

Migration to Java 8 Date-Time API #181

Open milosmns opened 5 months ago

milosmns commented 5 months ago

Provide a brief summary of the planned work

The project is using various approaches to date-time management. We should streamline those approaches into using only one approach – Java 8 Date-Time API.

Detailed overview

Due to historical reasons and migrations, the project currently uses various date-time management approaches:

Now that the project is more stable, we can use a single approach — the present day's standard: Java 8 Date Time. Time management happens on every layer, so there's no one place to look at and solve the problems from there.

Hint/location:

https://www.baeldung.com/java-8-date-time-intro
com.appifyhub.monolith.features.user.domain.service.SignupCodeServiceImplTest#cleanDates
com.appifyhub.monolith.util.extension.DateExtensionsKt#truncateTo

List the acceptance criteria

Include any additional notes (optional)

No response