diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/utils.c b/common/utils.c index 7f66ec2..58dac02 100644 --- a/common/utils.c +++ b/common/utils.c @@ -472,7 +472,7 @@ static void plist_node_print_to_stream(plist_t node, int* indent_level, FILE* st case PLIST_DATE: plist_get_date_val(node, (int32_t*)&tv.tv_sec, (int32_t*)&tv.tv_usec); { - time_t ti = (time_t)tv.tv_sec; + time_t ti = (time_t)tv.tv_sec + MAC_EPOCH; struct tm *btime = localtime(&ti); if (btime) { s = (char*)malloc(24); |