Page 1 of 2

Dateformat

Posted: Wed Jan 29, 2014 8:21 pm
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.

Re: Dateformat

Posted: Wed Jan 29, 2014 11:50 pm
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.

Re: Dateformat

Posted: Thu Jan 30, 2014 9:28 am
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

Re: Dateformat

Posted: Thu Jan 30, 2014 3:50 pm
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.

Re: Dateformat

Posted: Thu Jan 30, 2014 4:28 pm
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 ??

Re: Dateformat

Posted: Thu Jan 30, 2014 9:47 pm
by salass00
xenic wrote:
See the SF possibilities
What is SF ??
I think he means this:
http://os4depot.net/index.php?function= ... wfiles.lha

Re: Dateformat

Posted: Thu Jan 30, 2014 11:24 pm
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.

Re: Dateformat

Posted: Fri Jan 31, 2014 9:34 pm
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.

Re: Dateformat

Posted: Fri Jan 31, 2014 11:11 pm
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

Re: Dateformat

Posted: Sat Feb 01, 2014 6:47 am
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.