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

Cleanup Now API in favor of system defined implementations #182

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

Conversation

nekevss
Copy link
Member

@nekevss nekevss commented Jan 24, 2025

This adds a SystemHooks trait for providing system getters for system time and system time zone. It also adjusts the "now" feature to a "sys" feature flag for DefaultSystemHooks.

This PR provides more generalized methods that can be used in combination with a system hooks.

@nekevss nekevss added C-enhancement New feature or request C-api Changes related to the public API labels Jan 24, 2025
@nekevss nekevss changed the title Add SystemHooks trait + feature flagged DefaultSystemHooks and adjust Now as needed Cleanup Now API in favor of system defined implementations Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-api Changes related to the public API C-enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant