News:

Want to praise Simutrans?
Your feedback is important for us ;D.

Relative time is shown in am/pm format

Started by hreintke, August 15, 2021, 03:07:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hreintke

Has been a while since I played Simutrans, First time I see the waiting time in days, hours, minutes.

The issue is :
There is always an am/pm shown in waiting time.
When there is a waiting time of more than 12 hours, the difference is shows as hours -12  "pm" instead.

I think in "char const *difftick_to_string( sint32 ticks, bool round_to_quaters )"
should return the same format, days, hours, minutes  independent of "env_t::show_month" setting.

prissi

I see. Indeed, this seems to require some different handling. Check r10013.

hreintke

There is a leftover  "{ "  on line 295 of simintr.cc.

Removing that makes it work OK

prissi