Upcoming Games

(UTC times)


Full list
Add a game

Upcoming Events

No events to display

Clock

You are here: Home > Forum > General > General questions, comments, and issues > Clock

Page 1 of 1

Clock 01/05/2015 at 15:43 #71592
KymriskaDraken
Avatar
963 posts
I just spotted, while testing a sim, that the clock now ticks over from 23:59:59 to 00:00:00 instead of the expected 24:00:00. However, times in the message window still have the time shown as 24:xx.

I checked with a couple of released sims and the same thing happens (from Vic SE):



This might be a bit of a problem when in the middle of a four-day timetable so is this deliberate or is it a bug?

On a related note, can we have seconds shown in the reports in the message window?

Kev

Post has attachments. Log in to view them.
Last edited: 01/05/2015 at 15:44 by KymriskaDraken
Reason: Add ref to seconds in msg window

Log in to reply
Clock 01/05/2015 at 15:47 #71593
GeoffM
Avatar
6282 posts
Online
Oops, guess nobody checked the rollover! The methods to convert time into a string really do need refactoring so it's more obvious to Clive and myself what they do... :doh

Report seconds (and seconds in general) should be an option - logged.

SimSig Boss
Log in to reply
The following user said thank you: KymriskaDraken
Clock 01/05/2015 at 15:48 #71594
KymriskaDraken
Avatar
963 posts
Oooh a rollover! Must buy a ticket!


Kev

Last edited: 01/05/2015 at 15:49 by KymriskaDraken
Log in to reply
The following user said thank you: GeoffM
Clock 01/05/2015 at 19:19 #71602
58050
Avatar
2650 posts
Online
Is this now the first step in the sense of doing away with the need to timetable trains that run after midnight from tt writers perspective of using 24:xx & so on times? Or will we still need to write timetables in the way we've been doing it up to now?
Log in to reply
Clock 02/05/2015 at 00:49 #71616
GeoffM
Avatar
6282 posts
Online
It's just the display, that's all. Two chunks of code to display times, one with and one without the seconds. One wrapped the time displayed (23:59:59->00:00:00); the other didn't. I just didn't notice the difference.
SimSig Boss
Last edited: 02/05/2015 at 00:51 by GeoffM
Log in to reply
The following user said thank you: 58050