Page 1 of 1

LOAD"$=T"

Posted: Wed Nov 15, 2023 7:26 pm
by unartic
Hi!

I need the output of LOAD"$=T" from a directory with a few files and sub directoties in where the date and time format is English (USA).

Unfortunatly I can't get the emulator on my Windows pc to output it, after changing the windows regional settings.

So if someone can do this for me:

LOAD"$=T"
SAVE"LST-ENG.BAS"

and post the file back, it would be greatly appreciated ;-)

Re: LOAD"$=T"

Posted: Wed Nov 15, 2023 8:21 pm
by desertfish
Here you go.

But I'm curious, as to why the emulator would fail on your machine to do this? Do you get an error or does it crash?

Re: LOAD"$=T"

Posted: Thu Nov 16, 2023 1:34 pm
by unartic
Thanks!

No problems with the emulator :-) As I live in the Netherlands the default notation is dd-mm-yyyy HH:mm:ss. After changing regional settings to English USA on Windows I see the mm/dd/yyyy notation everywhere (even in a command line dir command), but within the emulator it keeps the Dutch notation. Strange enough the same happens with Dosbox for some reason.

So I just needed the listing to test my program :-)

Re: LOAD"$=T"

Posted: Thu Nov 16, 2023 1:37 pm
by unartic
Ok, this is unexpected. The contents of your .BAS file also has 24-hour time notation.

Does this mean it is the default for Commander x16?

Re: LOAD"$=T"

Posted: Thu Nov 16, 2023 3:41 pm
by kelli217
ISO8601 date format for the win!

Re: LOAD"$=T"

Posted: Thu Nov 16, 2023 5:53 pm
by desertfish
I'm also from the Netherlands (STROOPWAFEL!) and my locale (on Linux) is set like so

$ date do 16 nov 2023 18:51:59 CET $ echo $LC_TIME nl_NL.UTF-8

but I would hope the regional settings is of no consequence to the format of the date/time returned in the emulator directory listing. If it is, I consider that a bug in the emulator