Bug#225513: libc6: strftime display today (30 Dec 2003) a year 2004
> On Mon, Jan 05, 2004 at 02:20:20PM +0100, Julien LEMOINE wrote:
> > Osdclock use only libc functions to get and display date.
> > Osdclock use time(NULL) to get date and strftime() function to transform it
> > into char*.
> >
> > So it is not a osdclock bug, it is a bug in libc or a problem with your
> > system clock.
> > If you do not confirm that this is a problem with your system clock, I will
> > reassign the bug to libc.
> I'm not confirming it's system clock problem, as i checked it before
> submitting bug report. As far as i remeber i was checking it with 'date'.
Please show us the complete example:
gotom@celesta:~> env LANG=C TZ=Warsaw date +"%c" -d 2003-12-30
Tue Dec 30 00:00:00 2003
Otherwise, I close this bug.
Regards,
-- gotom
Reply to: