You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The buffer is one byte too small (due to the null terminator).
strftime returns 0 and the contents of the output buffer is undefined in this case.
On Linux I get a result like "2022-08-23 15:00:h" followed by some unprintables.
glx22
added a commit
to glx22/OpenTTD
that referenced
this issue
Aug 23, 2022
Version of OpenTTD
882b8f4 on Windows 10, 64-bit (via Steam)
Expected result
getsysdate
should return the current date and time.Actual result
getsysdate
returns a blank value, as shown below.Steps to reproduce
getsysdate
from the console.Tested on master 882b8f4, JGRPP 0.47.2, and JGRPP 0.48.1. All three versions return a blank value when running
getsysdate
.The text was updated successfully, but these errors were encountered: