[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug report with strftime on win2000
From: |
Marko Lesar |
Subject: |
bug report with strftime on win2000 |
Date: |
Tue, 31 Dec 2002 09:07:43 +0100 |
Bugreport:
Versions:
gawk -W version
GNU Awk 3.0.4
Copyright (C) 1989, 1991-1999 Free Software Foundation.
---
Microsoft Windows 2000 [Version 5.00.2195]
----
Description:
strftime("%g%m%d",systime()) reports wrong date:
System date: Gawk reports
27.12.2002 -> 021227 OK
30.12.2002 -> 031230 WRONG
31.12.2002 -> 031231 WRONG
28.12.2003 -> 031228 OK
29.12.2003 -> 041229 WRONG
30.12.2003 -> 041230 WRONG
31.12.2003 -> 041231 WRONG
31.12.2004 -> 041231 OK
So: 29.12.-31.12.2003 this version of GAWK running on my Win2000 will
experience problems again.
However, formatting:
strftime("%Y.%m.%d") makes no problem on 30.12.2002 and 31.12.2002
This seems to be a trouble with the %g option.
best wishes
Marko Lesar
- bug report with strftime on win2000,
Marko Lesar <=