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

Fabio Estevam festevam at gmail.com
Mon Dec 14 03:54:40 PST 2015


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 ;-)



More information about the barebox mailing list