summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'action.c')
-rw-r--r--action.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/action.c b/action.c
index c3cd7db6..a25eca23 100644
--- a/action.c
+++ b/action.c
@@ -652,6 +652,7 @@ actionWriteToAction(action_t *pAction)
tTm.tm_isdst = 1; /* TODO THIS IS JUST VALID FOR THE NEXT FEW DAYS ;) TODO */
/********************************************************************************/
pAction->f_time = mktime(&tTm);
+/* note: mktime seems to do a stat(/etc/localtime), so this is also sub-optimal! */
dbgprintf("XXXX create our own timestamp: %ld, system time is %ld\n", pAction->f_time, time(NULL));
}