[PATCH 1/7] hwclock command: use format like the Linux tool does

Sascha Hauer s.hauer at pengutronix.de
Mon Dec 14 04:02:39 PST 2015


On Mon, Dec 14, 2015 at 09:54:40AM -0200, Fabio Estevam wrote:
> On Mon, Dec 14, 2015 at 9:43 AM, Sascha Hauer <s.hauer at pengutronix.de> wrote:
> 
> > +const char *time_str(struct rtc_time *tm)
> > +{
> > +       const char *weekdays[] = { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" };
> > +       const char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug",
> > +                                "Sep", "Okt", "Nov", "Dec" };
> 
> The 'Okt' one looks like German ;-)

Uh, indeed. I hoped nobody would notice ;-)

Fixed, thanks

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 |



More information about the barebox mailing list