Shell be able to change dateformat

AmigaOS users can make feature requests in this forum.
Post Reply
JosDuchIt
Posts: 291
Joined: Sun Jun 26, 2011 5:47 pm
Contact:

Shell be able to change dateformat

Post by JosDuchIt »

It would be great to have the possibility to chose any of the DOS supported date formats.


Having List produce a usable datestamp for SetDate would be one benefit
Easier manipulation of fileselections produced List/Find etc the main one
User avatar
Amigo1
Posts: 221
Joined: Sun Jan 01, 2012 3:32 pm

Re: Shell be able to change dateformat

Post by Amigo1 »

JosDuchIt wrote:It would be great to have the possibility to chose any of the DOS supported date formats.


Having List produce a usable datestamp for SetDate would be one benefit
Easier manipulation of fileselections produced List/Find etc the main one
Hello all you happy core-developers,

Not sure if I should post this in feature requests, or if it is a little slip in the "Setdate" code.

Anyway, c:Date does support the date format set in locale. e.g., I have set it to Sweden, so the date format is "2019-12-10 02.10.12".
In a shell I can type "Date 2020-01-14 14.14.14" and the date will be set so.
However if I try the same with "Setdate" for a file or directory, it will not accept the locale format.
I will need to type "Setdate 14-jan-2020 14:14:14".

And then, if that gets maybe changed/corrected/added and maybe the PTB decide to release it, also non-beta-testers will get be able to enjoy it. :)

Thumbs up for tirelessly continuing to work on the OS in background. 8-) :D
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 1444
Joined: Wed Mar 09, 2011 1:36 pm
Location: Sydney, Australia

Re: Shell be able to change dateformat

Post by tonyw »

I have submitted an enhancement request for you - BZ #10177.
cheers
tony
User avatar
Amigo1
Posts: 221
Joined: Sun Jan 01, 2012 3:32 pm

Re: Shell be able to change dateformat

Post by Amigo1 »

tonyw wrote:I have submitted an enhancement request for you - BZ #10177.

Thanks a lot Sir! :)
Post Reply