From e2d59e7a0f759b47f2c999dce00265a81ed45d14 Mon Sep 17 00:00:00 2001 From: Sigma88 Date: Thu, 5 Dec 2019 14:40:50 +0100 Subject: [PATCH] various small updates --- Distribution/Release/Changelog.txt | 6 ++++++ .../Kronometer/Plugins/Kronometer.dll | Bin 21504 -> 21504 bytes .../Kronometer/Plugins/Kronometer.version | 14 +++++++------- LICENSE | 2 +- README.md | 6 +++--- src/Kronometer.cs | 4 ++-- 6 files changed, 19 insertions(+), 13 deletions(-) diff --git a/Distribution/Release/Changelog.txt b/Distribution/Release/Changelog.txt index 5744079..74df4c3 100644 --- a/Distribution/Release/Changelog.txt +++ b/Distribution/Release/Changelog.txt @@ -1,3 +1,9 @@ +**v1.7.3-1** + +- Updated to KSP 1.7.3 and Kopernicus.Parser v1.7.3-2 +- Fixed Date and LeapDate calculation + + **v1.7.1-1** - Updated to KSP 1.7.1 and Kopernicus.Parser v1.7.1-4 diff --git a/Distribution/Release/GameData/Kronometer/Plugins/Kronometer.dll b/Distribution/Release/GameData/Kronometer/Plugins/Kronometer.dll index 8e7b52eeea0a98301bc8fc4cc937e4e45d6ba4e1..796fe44ed5f0fdcc3432d55acdfb3a965e3fe593 100644 GIT binary patch delta 2402 zcmZ9Odu$X%7{I@oo!Q5=ckOoR(R#JL3bt3SK&@1u^j+G5)J9u{wqo$W*I^A3LWGoh zJs(9ZG1OHF0z$z=i0}_*#AmQVDi|ct5TZO(1dWPV4QP4Co0S>%Vl?Q_U0HX-?ZZWJKP&ZUKR8_6fX*l`jw_b&wbnSrFh z;b_97;dIhymyaH2@5(Gulc=V4wA%xtgM`{eo`4q02T=7^%%t0wM*m4x+rt@8=M^jd zu$JZtRRMTP@4SBfx@u~M$xLplOQvFjaaNHE1$JNN{tE9HXGj2x`7Q3ZRKKP9E!}S! z;iZP!<~5ntYGKpStric@Hko_>Z77nAgTIvn=PTFXw zlUAClVaEdjHHt+;hBVqCx@c-|^BPXa!5vliM=hMK7EJX4w0DeDph;A8!_;%iWIAdY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vv|D}VZ%WuG23mG9_KvLoZw@ylntwK~>yU@6gCX{OJo z>%Q2^q9&FL;`IeLh3_Qz&Vv7+N8-E7$RPlwBL<8({q~$MUMjZwe;rMTc0G4z3YK9& ttbT|>d~4j-88LOc-B1!Fn`3)Qh7O?H{J;^d|rS diff --git a/Distribution/Release/GameData/Kronometer/Plugins/Kronometer.version b/Distribution/Release/GameData/Kronometer/Plugins/Kronometer.version index 07376f2..9f32017 100644 --- a/Distribution/Release/GameData/Kronometer/Plugins/Kronometer.version +++ b/Distribution/Release/GameData/Kronometer/Plugins/Kronometer.version @@ -1,11 +1,11 @@ { - "NAME": "Kronometer", - "URL": "https://raw.githubusercontent.com/StollD/Kronometer/master/Distribution/Release/GameData/Kronometer/Plugins/Kronometer.version", - "DOWNLOAD": "https://github.com/StollD/Kronometer/releases/latest", - "CHANGE_LOG_URL": "https://raw.githubusercontent.com/StollD/Kronometer/master/Distribution/Release/Changelog.txt", + "NAME": "Kronometer", + "URL": "https://raw.githubusercontent.com/Kopernicus/Kronometer/master/Distribution/Release/GameData/Kronometer/Plugins/Kronometer.version", + "DOWNLOAD": "https://github.com/Kopernicus/Kronometer/releases/latest", + "CHANGE_LOG_URL": "https://raw.githubusercontent.com/Kopernicus/Kronometer/master/Distribution/Release/Changelog.txt", "GITHUB": { - "USERNAME": "StollD", + "USERNAME": "Kopernicus", "REPOSITORY": "Kronometer", "ALLOW_PRE_RELEASE": false }, @@ -13,13 +13,13 @@ { "MAJOR": 1, "MINOR": 7, - "PATCH": 1, + "PATCH": 3, "BUILD": 1 }, "KSP_VERSION": { "MAJOR": 1, "MINOR": 7, - "PATCH": 1 + "PATCH": 3 } } diff --git a/LICENSE b/LICENSE index 408a3a4..043bc0e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017 Dorian Stoll +Copyright (c) 2017 Dorian Stoll and Sigma88 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index e1e68f9..2b2a1e5 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This mod is licensed under the Terms of the MIT License. It was previously licen ## Downloads -- [Latest Release](https://github.com/StollD/Kronometer/releases/latest) +- [Latest Release](https://github.com/Kopernicus/Kronometer/releases/latest) ### Credits Sigma88 wrote most of the original code, Thomas P. made various improvements. The name is an idea of the IRC user "acc" @@ -48,9 +48,9 @@ The Kronometer root node contains five general settings and three nodes for more > > if the year ends halfway through a day, the clock will go: > - > Year 1 Day 365 ==> Year 2 Day 0 (Instead of starting directly with Day 1) + > Year 1 Day 365 ==> Year 2 Day 1 (Hours, Minutes and Seconds do not reset) > - > Day 0 will last untill Day 365 would have ended, then Day 1 will start. + > Day 1 will last untill Day 365 would have ended, then Day 2 will start. > > - **When *'true'***: > diff --git a/src/Kronometer.cs b/src/Kronometer.cs index 17059a3..5e86555 100644 --- a/src/Kronometer.cs +++ b/src/Kronometer.cs @@ -398,8 +398,8 @@ public virtual string PrintDateDeltaCompact(double time, bool includeTime, bool /// Calculates the current date /// This will work also when a year cannot be divided in days without a remainder /// If the year ends halfway through a day, the clock will go: - /// Year 1 Day 365 ==> Year 2 Day 0 (Instead of starting directly with Day 1) - /// Day 0 will last untill Day 365 would have ended, then Day 1 will start. + /// Year 1 Day 365 ==> Year 2 Day 1 (Hours, Minutes and Seconds do not reset) + /// Day 1 will last untill Day 365 would have ended, then Day 2 will start. /// This way the time shown by the clock will always be consistent with the position of the sun in the sky /// public virtual Date GetDate(double time)