comparison src/util.c @ 7459:825351e3b01b

[gaim-migrate @ 8072] SimGuy says this will fix %t in away messages and profiles on win32. I believe him, because really, I have nothing better to do. Well, except status rewrite, and a half dozen other things. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 08 Nov 2003 05:38:21 +0000
parents 783eea64614c
children 3c21f3084ff0
comparison
equal deleted inserted replaced
7458:7c320cdc0f3a 7459:825351e3b01b
1377 cnt += strlen(tmp); 1377 cnt += strlen(tmp);
1378 c++; 1378 c++;
1379 break; 1379 break;
1380 case 't': 1380 case 't':
1381 /* append time */ 1381 /* append time */
1382 strftime(tmp, 20, "%r", tme); 1382 strftime(tmp, 20, "%I:%M:%S %p", tme);
1383 strcpy(cpy + cnt, tmp); 1383 strcpy(cpy + cnt, tmp);
1384 cnt += strlen(tmp); 1384 cnt += strlen(tmp);
1385 c++; 1385 c++;
1386 break; 1386 break;
1387 default: 1387 default: