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 model class to an interface #57

Merged

Conversation

raywo
Copy link
Collaborator

@raywo raywo commented Dec 29, 2024

Refactor Time methods into functions and relocate interface.

Details
  • Refactor the Time class methods into standalone functions for better reusability.
  • Move the newly created interface to the shared folder for easy access across modules.

Refactor all methods of the former `Time` class into functions and
use them appropriately. Move interface into shared folder.
@raywo raywo linked an issue Dec 29, 2024 that may be closed by this pull request
@raywo raywo merged commit ac1654e into main Dec 29, 2024
@raywo raywo deleted the 55-fix-bug-where-the-comparison-between-time-objects-fails branch December 29, 2024 16:23
raywo added a commit that referenced this pull request Jan 13, 2025
Convert Time model class to an interface
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 bug where the comparison between Time objects fails
1 participant