| 607 | } |
| 608 | |
| 609 | string make_file_time(time_t when) |
| 610 | { |
| 611 | if (tm *loc = TIME_FN(&when)) |
| 612 | { |
| 613 | return make_stringf("%04d%02d%02d-%02d%02d%02d", |
| 614 | loc->tm_year + 1900, |
| 615 | loc->tm_mon + 1, |
| 616 | loc->tm_mday, |
| 617 | loc->tm_hour, |
| 618 | loc->tm_min, |
| 619 | loc->tm_sec); |
| 620 | } |
| 621 | return ""; |
| 622 | } |
no test coverage detected