iced/examples/clock
Skygrango f9124470b4 Fix clock example doesn't get the correct local time under unix system
There is a long-standing problem (https://github.com/time-rs/time/issues/293) that has not yet been solved by time-rs
Switch to chrono as it seemed to solve the problem (https://github.com/chronotope/chrono/pull/677)
2024-05-03 13:10:46 +08:00
..
src Fix clock example doesn't get the correct local time under unix system 2024-05-03 13:10:46 +08:00
Cargo.toml Fix clock example doesn't get the correct local time under unix system 2024-05-03 13:10:46 +08:00
README.md Create README files for all the examples 2020-02-21 15:20:05 +01:00

Clock

An application that uses the Canvas widget to draw a clock and its hands to display the current time.

The main file contains all the code of the example.

You can run it with cargo run:

cargo run --package clock