Xinqi Bao's Git
6dc9678b26264ee682b386b7dfefe3b9055ba8b1
1 /* See LICENSE file for copyright and license details. */
7 datetime(const char *fmt
)
12 if (!strftime(buf
, sizeof(buf
), fmt
, localtime(&t
))) {
13 fprintf(stderr
, "strftime: Result string exceeds buffer size\n");