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

Convert time preferences to Instants #4282

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Isira-Seneviratne
Copy link
Contributor

@Isira-Seneviratne Isira-Seneviratne commented Nov 11, 2023

Convert the time preferences to Instants and improve the time difference calculations.

@cooltey
Copy link
Collaborator

cooltey commented Nov 21, 2023

Could you please help to provide the context of switching to Instants and its advantages?

@Isira-Seneviratne
Copy link
Contributor Author

I improved some of the time difference calculations, e.g. switching from Duration.between to Instant.until.

Isira-Seneviratne and others added 2 commits December 15, 2023 06:32
# Conflicts:
#	app/src/main/java/org/wikipedia/main/MainFragment.kt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants