grub-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]