Lines 1-20
Link Here
|
1 |
--- src/gtksee.c.orig Sat Sep 25 01:27:40 1999 |
|
|
2 |
+++ src/gtksee.c Sun May 6 13:25:31 2001 |
3 |
@@ -322,13 +322,13 @@ |
4 |
} |
5 |
if (hour == 0) |
6 |
{ |
7 |
- sprintf(buffer, "%s, %02i/%02i/%02i 12:%02i AM", |
8 |
- text, time->tm_year, time->tm_mon+1, time->tm_mday, |
9 |
+ sprintf(buffer, "%s, %04i/%02i/%02i 12:%02i AM", |
10 |
+ text, time->tm_year + 1900, time->tm_mon+1, time->tm_mday, |
11 |
time->tm_min); |
12 |
} else |
13 |
{ |
14 |
- sprintf(buffer, "%s, %02i/%02i/%02i %02i:%02i %s", |
15 |
- text, time->tm_year, time->tm_mon+1, time->tm_mday, |
16 |
+ sprintf(buffer, "%s, %04i/%02i/%02i %02i:%02i %s", |
17 |
+ text, time->tm_year + 1900, time->tm_mon+1, time->tm_mday, |
18 |
hour, time->tm_min, (time->tm_hour<12)?"AM":"PM"); |
19 |
} |
20 |
g_free(text); |