From ec3293d22ced4406e4f7304b0589ec5fc967b099 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Thu, 22 Aug 2024 12:13:05 -0700 Subject: Initial commit. Implement EorzeanTime --- src/main.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/main.rs (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..2d79ece --- /dev/null +++ b/src/main.rs @@ -0,0 +1,11 @@ +mod eorzean_time; + +use chrono::Utc; +use eorzean_time::convert_seconds_to_eorzean_duration; + + +fn main() { + let current_time = Utc::now().timestamp_millis(); + let eorzean_date = eorzean_time::convert_to_eorzean_date(current_time); + println!("{:?}", eorzean_date); +} \ No newline at end of file -- cgit v1.2.3