Dateformat

A forum for general AmigaOS 4.x support questions that are not platform-specific
JosDuchIt
Posts: 291
Joined: Sun Jun 26, 2011 6:47 pm
Contact:

Dateformat

Post by JosDuchIt »

Was it not possible in locale prefs to chose for internationals date format (next to canadian or EU ,) ?
Is it possible to set the dateformat in shell? I
Anyway i di notice that this possibility that GUI4Cli provided is broken now; It is broken also with the original 68k code, that still worked OK under Amithlon and must still be oK on not NG Amiga's.
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 1483
Joined: Wed Mar 09, 2011 1:36 pm
Location: Sydney, Australia

Re: Dateformat

Post by tonyw »

The date format is set by your Locale setting. When you select your country in Prefs/Locale, it should select the correct date format for you.

If that is not the format for your country, let us know.
cheers
tony
JosDuchIt
Posts: 291
Joined: Sun Jun 26, 2011 6:47 pm
Contact:

Re: Dateformat

Post by JosDuchIt »

@TonyW

The dateformat is indeed set tot my country, but i would much prefer that i would be able to set it to "International" YYYYMMDD as you can then easily sort on date

Having the possibility to set the date format in List, search, Find would be great too.


See the SF possibilities
xenic
Posts: 1185
Joined: Sun Jun 19, 2011 1:06 am

Re: Dateformat

Post by xenic »

tonyw wrote:The date format is set by your Locale setting. When you select your country in Prefs/Locale, it should select the correct date format for you.

If that is not the format for your country, let us know.
Locale seems to set some date formats but not all. My Locale is US and the list command uses Day/Month/Year while the system requesters etc. use Month/Day/Year. It might be nice to make everything constistant.
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
Posts: 1185
Joined: Sun Jun 19, 2011 1:06 am

Re: Dateformat

Post by xenic »

JosDuchIt wrote:@TonyW

The dateformat is indeed set tot my country, but i would much prefer that i would be able to set it to "International" YYYYMMDD as you can then easily sort on date
You can easily sort on date by clicking at the top of the date column in ASL listers, Workbench windows set to "View by Name", & Find window. Dopus4, Dopus5 & other file managers can be set to sort by date. The list command can sort output by date (i.e. list SORT DATE).
Having the possibility to set the date format in List, search, Find would be great too.
I don't see any dates in Search output and the List command uses it's own date format in it's output. Everyone has their own idea of how OS4 should work but I don't really understand the purpose of your request.
See the SF possibilities
What is SF ??
AmigaOne X1000 with 2GB memory - OS4.1 FE
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 534
Joined: Sat Jun 18, 2011 4:12 pm
Location: Finland
Contact:

Re: Dateformat

Post by salass00 »

xenic wrote:
See the SF possibilities
What is SF ??
I think he means this:
http://os4depot.net/index.php?function= ... wfiles.lha
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 1483
Joined: Wed Mar 09, 2011 1:36 pm
Location: Sydney, Australia

Re: Dateformat

Post by tonyw »

The Locale setting only affects the DISPLAY of the date, not the way that dates are sorted. All applications should sort dates the same way (they see the same data), but some might show dates differently if they do not use the Locale: tools.
cheers
tony
xenic
Posts: 1185
Joined: Sun Jun 19, 2011 1:06 am

Re: Dateformat

Post by xenic »

salass00 wrote: I think he means this:
http://os4depot.net/index.php?function= ... wfiles.lha
Ugh. Yet another shell command that doesn't even have a standard template and produces an error when you enter "?" on the command line. Of course all the commands in OS4 SYS:C that don't have templates certainly don't set a good example for programmers. I'm really tired of entering "?" to get a command template and having surprising things happen (cmiboost crashes) or getting an error message.
AmigaOne X1000 with 2GB memory - OS4.1 FE
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1744
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Dateformat

Post by nbache »

xenic wrote:Of course all the commands in OS4 SYS:C that don't have templates certainly don't set a good example for programmers.
I agree. Do you happen to have a list of the ones which have this problem?

Best regards,

Niels
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 1483
Joined: Wed Mar 09, 2011 1:36 pm
Location: Sydney, Australia

Re: Dateformat

Post by tonyw »

There aren't any. I just went through the lot, and the only (OS4) commands that don't show a template for "?" are Python and a couple of the ARexx scripts.
cheers
tony
Post Reply