Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a3298d5

Browse files
committed
Fix localtime support
1 parent fed01f7 commit a3298d5

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ crosstermion = { version = "0.6.0", optional = true, default-features = false }
8181
async-io = { version = "1.0.0", optional = true }
8282

8383
# localtime support for render-tui
84-
time = { version = "0.2.9", optional = true, features = ["std"], default-features = false }
84+
# Needs locking until https://github.com/time-rs/time/issues/293 is fixed.
85+
time = { version = "=0.2.22", optional = true, features = ["std"], default-features = false }
8586

8687
# line renderer
8788
ctrlc = { version = "3.1.4", optional = true, default-features = false, features = ['termination'] }

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This crate comes with various cargo features to tailor it to your needs.
2626
* May interfere with `render-tui` or `render-line`, or any renderer outputting to the console.
2727
* **progress-log**
2828
* A `Progress` implementation which logs messages and progress using the `log` crate
29-
* **local-time** _(default)_
29+
* **localtime** _(default)_
3030
* If set, timestamps in the message pane of the `render-tui` will be using the local time, not UTC
3131
* If set, timestamps of the log messages of the `render-line` will be using the local time, not UTC
3232
* Has no effect without the `render-tui` or `render-line` respectively

0 commit comments

Comments
 (0)