system-time
Locale-Aware System Time & Timestamp Utilities
Workspace Overview · API Docs · Agent Engineering Rules
Overview
Zero-dependency wall-clock date/time formatting and timestamp extraction respecting host locale settings.
This package is part of the ctares unified Rust 2024 workspace and follows the repository's strict module purity, formatting, and dependency-ordered release standards.
Responsibilities & Module Layout
fn— Current date, time, Unix epoch, and formatted timestamp helpersenum/impl/const— Timezone offset and formatting definitions
Installation & Quick Start
use *;
let now: String = time;
assert!;
Verification
Run crate-scoped formatting, lint, and test checks from the workspace root:
Documentation & Governance
- Update this
README.mdalongside any public API, CLI flag, or module-boundary change per../AGENTS.md. - Project-level standards and release workflows live in
../.agents/skills/ctares/SKILL.md.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For inquiries, please contact the author at root@devhub.vip.