radistmorse / KSPPreciseManeuver

Precise Maneuver plugin for Kerbal Space Program (KSP)
BSD 2-Clause "Simplified" License
29 stars 24 forks source link

Use dateTimeFormatter to support non-standard calendars #15

Closed Aelfhe1m closed 6 years ago

Aelfhe1m commented 6 years ago

Add support for Kronometer or other non-standard calendar formatters by switching date formatting to built in utility functions.

Compiled DLL for testing: PreciseManeuver.zip

radistmorse commented 6 years ago

While I support the idea of using the standard tools, this patch needs more work. There is no need to keep the NodeTools.ConvertUTtoHumanTime() if it'll consist of only one line. Just replace the calls to it directly.

Also, since the formats become obsolete, the relevant lines should be removed from the localization file.