NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/47764: date hour wrong



On Apr 24,  6:45pm, reed%reedmedia.net@localhost (reed%reedmedia.net@localhost) 
wrote:
-- Subject: bin/47764: date hour wrong

| System: NetBSD t1.m.reedmedia.net 6.0_STABLE NetBSD 6.0_STABLE (GENERIC) #2: 
Wed Oct 24 13:02:03 CDT 2012 
reed%t1.m.reedmedia.net@localhost:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
| Architecture: x86_64
| Machine: amd64
| >Description:
| 
| On NetBSD 5.2:
| $ TZ=America/Los_Angeles date -d "25-may-2013 14:00utc" +"%A %B %d %I:%M %p 
%z"
| Saturday May 25 07:00 AM -0700
| 
| But on NetBSD 6.0:
| $ TZ=America/Los_Angeles date -d "25-may-2013 14:00utc" +"%A %B %d %I:%M %p 
%z"
| Saturday May 25 03:00 PM -0700
| 
| Notice the hour and am/pm are wrong for newer date.
| (Timezone offset is correct.)

The one from head works... Can you update to parsedate.y and see if it fixes
your problem.

christos


Home | Main Index | Thread Index | Old Index