This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] strftime %I fix


Neundorf, Alexander wrote:
Hi,

the %I parameter produced a different result than the %H parameter. For
instance %H gave "14:30", while %I produced "3:30" ( 14%12 + 1 ==3 ).
The attached patch fixes this, so %I will now correctly produce "2:30".

What a dumb error :-). Thanks for the patch! Applied.


Jifl
--
------["The best things in life aren't things."]------      Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]