From 0d4307f2a981e93fa404eec23b4f146f1ec569d3 Mon Sep 17 00:00:00 2001 From: crc Date: Wed, 24 Apr 2019 17:42:12 +0000 Subject: [PATCH] fix clock:year on rre FossilOrigin-Name: 6bfb08e7361886b62db852076652a77b731b0bbee2506ea7586f64e137a6cc70 --- interfaces/io/unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/io/unix.c b/interfaces/io/unix.c index b1c2927..b7f91e3 100644 --- a/interfaces/io/unix.c +++ b/interfaces/io/unix.c @@ -296,7 +296,7 @@ void unix_time_month() { void unix_time_year() { time_t t = time(NULL); - stack_push((CELL)localtime(&t)->tm_year); + stack_push((CELL)localtime(&t)->tm_year + 1990); } void unix_time_hour() {