mirror of
https://github.com/uutils/parse_datetime.git
synced 2026-10-16 03:25:04 -07:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf6f14bc09 |
No files matched your search
Generated
+1
-1
@@ -13,7 +13,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "humantime_to_duration"
|
name = "humantime_to_duration"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"regex",
|
"regex",
|
||||||
"time",
|
"time",
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "humantime_to_duration"
|
name = "humantime_to_duration"
|
||||||
description = " parsing human-readable relative time strings and converting them to a Duration"
|
description = " parsing human-readable relative time strings and converting them to a Duration"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
repository = "https://github.com/uutils/humantime_to_duration"
|
repository = "https://github.com/uutils/humantime_to_duration"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ Add this to your `Cargo.toml`:
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
humantime_to_duration = "0.1.1"
|
humantime_to_duration = "0.2.1"
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, import the crate and use the `from_str` and `from_str_at_date` functions:
|
Then, import the crate and use the `from_str` and `from_str_at_date` functions:
|
||||||
|
|||||||
Reference in new issue
Block a user