ref: d669dfe2fe0e03909d149f5fa7da1117c47ba814
parent: a86ce8ef459965a80f433a7832804b1561ff5769
author: Ali Gholami Rudi <ali@rudi.ir>
date: Wed Apr 25 14:11:38 EDT 2018
reg: \n[.yr] holds current year
--- a/reg.c
+++ b/reg.c
@@ -264,6 +264,7 @@
num_set(map("dy"), tm->tm_mday);
num_set(map("mo"), tm->tm_mon + 1);
num_set(map("yr"), tm->tm_year % 100);
+ num_set(map(".yr"), 1900 + tm->tm_year);
}
static void init_globals(void)