aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-08-22 12:13:05 -0700
committerPinapelz <yukais@pinapelz.com>2024-08-22 12:13:05 -0700
commitec3293d22ced4406e4f7304b0589ec5fc967b099 (patch)
tree631f47fe3f28aa75e1b41c56ab131fd5dd987201 /src/main.rs
Initial commit. Implement EorzeanTime
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs11
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage