From: cuz Date: Wed, 13 Nov 2002 13:26:05 +0000 (+0000) Subject: Fixed a bug X-Git-Tag: V2.12.0~2118 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3ed8d565d468714b3958558c64c73533455c82e8;p=cc65 Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@1514 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/common/strftime.c b/libsrc/common/strftime.c index 979f40c2a..467d13516 100644 --- a/libsrc/common/strftime.c +++ b/libsrc/common/strftime.c @@ -166,7 +166,7 @@ size_t __fastcall__ strftime (char* buf, size_t bufsize, const char* format, break; case 'b': - sprintf (arg, "%.3s", months[tm->tm_mday]); + sprintf (arg, "%.3s", months[tm->tm_mon]); break; case 'c':