aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-08-26 23:42:50 -0700
committerPinapelz <yukais@pinapelz.com>2024-08-26 23:49:17 -0700
commitaa9965dae1a9e0fd86cff505f33c96858355cb75 (patch)
tree8c279b5edc6dace75084d937fab4205d3a586801
parentc019d769786993502b359608279d529745dc207b (diff)
version 0.0.3v0.0.3
-rw-r--r--.gitignore1
-rw-r--r--CHANGELOG.md19
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--src/main.rs11
5 files changed, 22 insertions, 13 deletions
diff --git a/.gitignore b/.gitignore
index ea8c4bf..10c0313 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/target
+main.rs \ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..90673e4
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,19 @@
+# Changelog
+
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+
+## [0.0.3] - 2024-08-26
+
+### Added
+- Unittests for `eorzean_time` and `eorzean_weather` modules.
+
+### Changed
+- Integer timestamps will now be interpreted as seconds since epoch instead of milliseconds.
+
+### Fixed
+- Incorrect offset used when converting time to EorzeanDate causing for index out of bounds sometimes when reading moon phase prefix
+ \ No newline at end of file
diff --git a/Cargo.lock b/Cargo.lock
index 56e843d..d346a66 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -66,7 +66,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]]
name = "ffxiv-chronowatcher"
-version = "0.0.2"
+version = "0.0.3"
dependencies = [
"chrono",
"serde",
diff --git a/Cargo.toml b/Cargo.toml
index 75554fb..c16fafa 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,7 @@ description = "Weather and Eorzean Time Library for Final Fantasy XIV"
repository = "https://github.com/pinapelz/ffxiv-chronowatcher"
readme = "README.md"
keywords = ["ffxiv", "eorzea", "weather", "time"]
-version = "0.0.2"
+version = "0.0.3"
edition = "2021"
exclude = [
"src/main.rs",
diff --git a/src/main.rs b/src/main.rs
deleted file mode 100644
index 2d79ece..0000000
--- a/src/main.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-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