Skip to content

Fixes #2767 with two time types#2837

Merged
Dunbaratu merged 2 commits intoKSP-KOS:developfrom
Dunbaratu:fixes_2767_two_time_types
Jan 15, 2021
Merged

Fixes #2767 with two time types#2837
Dunbaratu merged 2 commits intoKSP-KOS:developfrom
Dunbaratu:fixes_2767_two_time_types

Conversation

@Dunbaratu
Copy link
Member

@Dunbaratu Dunbaratu commented Jan 14, 2021

Fixes #2627
I finally decided to implement the two types of time even though I didn't really like doing it. Partly it just feels like a lot of work just to cover the conversion-that-isn't-really-a-conversion between the two, and the rules of operatator overloading between them. I miss Unix timestamps. So much simpler. Anyway, it's done and here's the PR for it.

(This includes a new file called TimeSpan.cs and renamed an old file called Timespan.cs (capitalization differs). I hope this doesn't confuse github on Windows vs Linux systems (case sensitivity in filenames).)

@Dunbaratu Dunbaratu merged commit ca9ba98 into KSP-KOS:develop Jan 15, 2021
@Dunbaratu Dunbaratu added Breaking Some user scripts that used to work will break (even if just in a minor way). enhancement Something new (not a bug fix) is being requested labels Jan 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking Some user scripts that used to work will break (even if just in a minor way). enhancement Something new (not a bug fix) is being requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CONTRIBUTING.md has minor inaccuracies in the 'Setting Up Your Environment' section.

1 participant