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

Compatibility layer/conversion interface for standard time types #82

Open
avanov opened this issue Sep 3, 2023 · 1 comment
Open

Compatibility layer/conversion interface for standard time types #82

avanov opened this issue Sep 3, 2023 · 1 comment

Comments

@avanov
Copy link

avanov commented Sep 3, 2023

Hi,

given there are significant number of third-party libraries that use time for their calendar-related interfaces, that don't plan to switch to chronos any time soon, what is the recommened way to integrate those libraries with chronos-based APIs? thyme for instance has lenses and compatibility layer that makes it easy to interface with the existing codebases that rely on time type definitions. Is there something similar for chrnos? Thank you.

@avanov avanov changed the title Compatibility layer/conversion interface for standard time Compatibility layer/conversion interface for standard time types Sep 3, 2023
@chessai
Copy link
Member

chessai commented Dec 13, 2023

This makes a lot of sense to me. Would you like to prepare a PR?

EDIT: The library should be something like chronos-time-compat.

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

No branches or pull requests

2 participants