diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-08-26 23:42:50 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-08-26 23:49:17 -0700 |
| commit | aa9965dae1a9e0fd86cff505f33c96858355cb75 (patch) | |
| tree | 8c279b5edc6dace75084d937fab4205d3a586801 | |
| parent | c019d769786993502b359608279d529745dc207b (diff) | |
version 0.0.3v0.0.3
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | CHANGELOG.md | 19 | ||||
| -rw-r--r-- | Cargo.lock | 2 | ||||
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | src/main.rs | 11 |
5 files changed, 22 insertions, 13 deletions
@@ -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 @@ -66,7 +66,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "ffxiv-chronowatcher" -version = "0.0.2" +version = "0.0.3" dependencies = [ "chrono", "serde", @@ -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 |
