From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH] rtc: pcf2127: don't add/subtract 1 to tm_mon
Date: Fri, 1 May 2020 17:57:46 -0400 [thread overview]
Message-ID: <20200501215746.GA12564@bill-the-cat> (raw)
In-Reply-To: <20200501132450.5219-1-rasmus.villemoes@prevas.dk>
On Fri, May 01, 2020 at 03:24:50PM +0200, Rasmus Villemoes wrote:
> As noted in rtc_def.h, the tm_mon field in struct rtc_time is 1-12,
> unlike in struct tm where it is 0-11. Currently, running "date" prints
> the wrong
>
> Date: 2020-04-01 (Friday) Time: 13:05:30
>
> and setting the RTC via the date command is also broken.
>
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200501/e56f01bf/attachment.sig>
prev parent reply other threads:[~2020-05-01 21:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-01 13:24 [PATCH] rtc: pcf2127: don't add/subtract 1 to tm_mon Rasmus Villemoes
2020-05-01 21:57 ` Tom Rini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200501215746.GA12564@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox