diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-09-27 12:11:15 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-09-27 12:12:46 -0400 |
commit | 52de184ba28551734e1cb13233588504ab5f62ec (patch) | |
tree | 5b3d417354e7880b97507d1e4cf01c200f6cf24f /tests/xtimegm.c | |
parent | b395bb33e6f7d875307b18a4f9318ed0d34934ca (diff) | |
download | bfs-52de184ba28551734e1cb13233588504ab5f62ec.tar.xz |
Formatting fixes
Diffstat (limited to 'tests/xtimegm.c')
-rw-r--r-- | tests/xtimegm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/xtimegm.c b/tests/xtimegm.c index b2479b7..973b2eb 100644 --- a/tests/xtimegm.c +++ b/tests/xtimegm.c @@ -42,9 +42,9 @@ static bool tm_equal(const struct tm *tma, const struct tm *tmb) { static void tm_print(FILE *file, const struct tm *tm) { fprintf(file, "Y%d M%d D%d h%d m%d s%d wd%d yd%d%s\n", - tm->tm_year, tm->tm_mon, tm->tm_mday, - tm->tm_hour, tm->tm_min, tm->tm_sec, - tm->tm_wday, tm->tm_yday, + tm->tm_year, tm->tm_mon, tm->tm_mday, + tm->tm_hour, tm->tm_min, tm->tm_sec, + tm->tm_wday, tm->tm_yday, tm->tm_isdst ? (tm->tm_isdst < 0 ? " (DST?)" : " (DST)") : ""); } |