Re: [RFC v3 4/5] commands: add hwclock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 19 Jul 2014 21:02:22 +0200
Holger Schurig <holgerschurig@xxxxxxxxx> wrote:

> I'd prefer a more logical format (and that is also in the help).
> However, in this case I wouldn't name the command "hwclock", but maybe
> "setclock".

hwclock allows to use a logical format!

e.g. here is a quote from hwclock manpage:

     --date=date_string
              You  need this option if you specify the --set or --predict functions, otherwise
              it is ignored.  It specifies the time to which to set the Hardware Clock, or the
              time  for which to predict the Hardware Clock reading.  The value of this option
              is an argument to the date(1) program.  For example:

                  hwclock --set --date="2011-08-14 16:45:05"

The problem is that date(1) program allows to use TOO MANY formats (both logical and illogical).
We have to select only one format!

-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux