A relatively compact Date/Time library in Rust
Go to file
2024-02-09 10:59:09 -05:00
src Simplify some calculations 2024-02-09 10:59:09 -05:00
.gitignore Initial commit 2024-01-29 10:58:27 -05:00
Cargo.lock Initial commit 2024-01-29 10:58:27 -05:00
Cargo.toml Make serde optional 2024-01-30 20:47:11 -05:00
README.md Add some docs 2024-02-09 00:24:04 -05:00

Contents

Summary

Epoch is a small library for converting Unix timestamps to human readable datetime and vice versa. It includes functionality for displaying a DateTime as a human readable string, parsing from string, and comparison for equality or ordering.

This crate is ideal when you want a lighter and simpler date/time library than the excellent and very complete chrono, which is likely overkill for many use cases.

Usage

Add epoch to your Cargo.toml

epoch = { git = "http://git.hitchhiker-linux.org/jeang3nie/epoch-rs.git" }