diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-08-22 12:13:05 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-08-22 12:13:05 -0700 |
| commit | ec3293d22ced4406e4f7304b0589ec5fc967b099 (patch) | |
| tree | 631f47fe3f28aa75e1b41c56ab131fd5dd987201 /src/main.rs | |
Initial commit. Implement EorzeanTime
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 11 |
1 files changed, 11 insertions, 0 deletions
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 |
