| 1207 | } |
| 1208 | |
| 1209 | static void date_today(struct tm *tm, struct tm *now, int *num) |
| 1210 | { |
| 1211 | if (tm->tm_hour == now->tm_hour && |
| 1212 | tm->tm_min == now->tm_min && |
| 1213 | tm->tm_sec == now->tm_sec) |
| 1214 | date_time(tm, 0); |
| 1215 | *num = 0; |
| 1216 | tm->tm_mday = -1; |
| 1217 | update_tm(tm, now, 0); |
| 1218 | } |
| 1219 | |
| 1220 | static const struct special { |
| 1221 | const char *name; |