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

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

 



On Mon, Jul 21, 2014 at 07:41:50PM +0400, Antony Pavlov wrote:
> On Mon, 21 Jul 2014 10:11:50 +0200
> Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote:
> 
> 
> busybox realization
> ===================
> 
> Here is parse_datestr() (barebox.git/libbb/time.c) date format list:
> 
> #if ENABLE_FEATURE_DATE_COMPAT 
> /* MMDDhhmm[[CC]YY][.ss] */  ---  weird 'date' format
> #endif
> 
> /* HH:MM[:SS] */
> /* mm.dd-HH:MM[:SS] */
> /* yyyy.mm.dd-HH:MM[:SS] */
> /* yyyy-mm-dd HH:MM[:SS] */
> 
> /* month_name d HH:MM:SS YYYY */ --- I suppose we don't want to mess with mount_name :)
> /* yyyy-mm-dd HH */
> /* yyyy-mm-dd */
> 
> /* MM[.SS] */
> /* HHMM[.SS] */
> /* ddHHMM[.SS] */
> /* mmddHHMM[.SS] */
> /* yymmddHHMM[.SS] */
> /* ccyymmddHHMM[.SS] */ --- this format is used in RFCv3 patchseries.

I am happy with this format. This is just what I would have typed if I
had guessed the correct format.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
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