Agathorn

[KSP 1.1.3] RSS DateTime Formatter v1.0

Recommended Posts

RSS DateTime Formatter

This is a very basic mod with one function, to replace the stock KSP displays of times and dates with an approach better suited for RSS players.  This includes things like showing calendar dates rather than awkward formats like "Year 5, Day 200".

REmBTyq.png

License: CC-BY-NC-SA

Source Code: https://github.com/KSP-RO/RSSTimeFormatter

Latest Release: https://github.com/KSP-RO/RSSTimeFormatter/releases/latest

 

Edited by Agathorn

Share this post


Link to post
Share on other sites

first! I approve!  My goal is to parallel a space program with the years matching up to the real ones and without  them going wacky due to time warping stuff!  Holy crapp that should be a reddit challenge :P  My starting year would be about 1942 and I would start the career mode with BD armoury and do all the WW2 tanks and fighter planes with bombers and stuff!

Edited by lextacy

Share this post


Link to post
Share on other sites

Great! This will increase immersion and allow for launching "real" missions with the correct dates much more easily!

Edited by leudaimon
Typo

Share this post


Link to post
Share on other sites

Now its just a matter of getting KCT's development time to match your goals =P

Share this post


Link to post
Share on other sites
Just now, NathanKell said:

@JeeF I did ask for KCT to support an absolute date option, and to properly handle time offsets. @magico13 is truly awesome about fulfilling our requests, so I doubt it'll be a problem. :)

Not this update probably, but next one for sure :wink:

Share this post


Link to post
Share on other sites

It uses localization settings, since it uses base mono methods. Enjoy whatever format floats your boat.

Share this post


Link to post
Share on other sites

It's the little things like this mod that make RSS more palatable for those on the fence (like me) as to whether to give it a full playthrough or not. So thankyou, Agathorn, you made my anticipation for RO to be fully updated to 1.1.2 even higher. :)

Edited by Stevie_D

Share this post


Link to post
Share on other sites

 

These days my favorite is to use ISO 8601 / RFC 3339 style dates, since it removes ambiguity (and is properly sortable in programs, database tables, etc):

YYYY-MM-DD hh:mm:ss

Can the display be configured to do that?

Share this post


Link to post
Share on other sites

Currently the date format uses whatever your defined 'locale' is in your operating system.  In the future I am considering building an options UI to allow for manual control over these things, but that probably won't come for a bit.

Share this post


Link to post
Share on other sites

Are there plans for this to be pushed to CKAN?

Edited by rsparkyc

Share this post


Link to post
Share on other sites
48 minutes ago, rsparkyc said:

Are there plans for this to be pushed to CKAN?

Eventually.  I need to get around to setting up the NETKAN stuff, which I will probably do at the same time I set up the automated release system.  Needs AVC as well.

Share this post


Link to post
Share on other sites

I've submitted a NETKAN to the CKAN guys, so assuming I didn't mess it up somehow, this should be showing up on CKAN soon.

Share this post


Link to post
Share on other sites

For my own clarification - does this require RSS, or will this apply similar functionality to stock? I'm not really clear on that from your OP.

Share this post


Link to post
Share on other sites
1 hour ago, Shadriss said:

For my own clarification - does this require RSS, or will this apply similar functionality to stock? I'm not really clear on that from your OP.

This has no dependancies.  It was written for RSS but can be used without if desired.  Bear in mind it does expect time to be in Earth time though, and dates are based on a epoch of 1/1/1950 at the moment, though that will probably be moved into a config later.

Share this post


Link to post
Share on other sites

SO it'll still use 24 hours days vs the 6 hour Kerbin one? Unfortunate - I'd love to see something similar that still uses the stock timing. I have a hard enough time getting out to the Mun and Minmus, let alone outside the local neighborhood to even think about doing RSS.

Share this post


Link to post
Share on other sites

@Shadriss: You can fork it, but you'll have to implement the seconds->date conversion since we in RSS can just take advantage of the real DateTime and TimeSpan classes.

Share this post


Link to post
Share on other sites
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.