[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] New command checktime
From: |
Colin D Bennett |
Subject: |
Re: [PATCH] New command checktime |
Date: |
Thu, 7 Aug 2008 11:17:14 -0700 |
I just have a couple of suggestions:
On Fri, 8 Aug 2008 01:52:07 +0800
Bean <address@hidden> wrote:
> On Thu, Aug 7, 2008 at 7:19 PM, Bean <address@hidden> wrote:
> 1. date [MMDDhhmm[[CC]YY][.ss]]
>
> Set/Display current datetime, to set date, The format is the same as
> the date command, you can also use - or : to seperate the numbers. For
> example:
>
> date 0902
> Sep, 2.
>
> date 10-05-13-15
> Oct 5, 13:15
I know the reason for using that format is to be compatible with the
Unix 'date' command, but I find it impossible to remember the arcane
format it accepts. Do you think it would be more straightforward to
accept the ISO standard date format (ISO 8601). For instance:
date 2008-10-05T13:15
(5 October 2008)
or, as syntactic sugar, let each argument be either a time or date:
date 2008-10-05 13:15
> 2. crontab min hour day_of_month month day_of_week
This really doesn't allow you to edit a crontab, does it? If not, is
there a more appropriate name we could use instead of 'crontab'?
Perhaps 'testdate' or something?
Regards,
Colin
- [PATCH] New command checktime, Bean, 2008/08/06
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/06
- Re: [PATCH] New command checktime, Bean, 2008/08/06
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/06
- Re: [PATCH] New command checktime, Bean, 2008/08/07
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/07
- Re: [PATCH] New command checktime, Bean, 2008/08/07
- Re: [PATCH] New command checktime, Bean, 2008/08/07
- Re: [PATCH] New command checktime,
Colin D Bennett <=
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/07
- Re: [PATCH] New command checktime, Bean, 2008/08/09
- Re: [PATCH] New command checktime, Isaac Dupree, 2008/08/09
- Re: [PATCH] New command checktime, Bean, 2008/08/09
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/10
- Re: [PATCH] New command checktime, Bean, 2008/08/10
- Re: [PATCH] New command checktime, Isaac Dupree, 2008/08/10
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/10
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/07
Re: [PATCH] New command checktime, Marco Gerards, 2008/08/10