summaryrefslogtreecommitdiffstats
path: root/src/datetime.h
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2022-03-18 20:31:27 (EDT)
committer P. J. McDermott <pj@pehjota.net>2022-03-18 20:31:27 (EDT)
commiteb8dbc0d4cddd1161e2b02d7973985a36e2efc95 (patch)
tree180f4105c7554a91ee2f99a4f7d3c7ce297affe3 /src/datetime.h
parent557090b458bc5a61b56eaf4a0cc66376ac84bdd4 (diff)
downloadatsign-eb8dbc0d4cddd1161e2b02d7973985a36e2efc95.zip
atsign-eb8dbc0d4cddd1161e2b02d7973985a36e2efc95.tar.gz
atsign-eb8dbc0d4cddd1161e2b02d7973985a36e2efc95.tar.bz2
datetime: Get now (struct tm) from caller
Diffstat (limited to 'src/datetime.h')
-rw-r--r--src/datetime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datetime.h b/src/datetime.h
index edff8f7..554748b 100644
--- a/src/datetime.h
+++ b/src/datetime.h
@@ -23,7 +23,7 @@
#include <time.h>
int
-datetime_parse(const char *input, time_t *arg_sec);
+datetime_parse(struct tm *now_tm, const char *input, time_t *arg_sec);
int
datetime_strftime_date(const struct tm *tm, char **out, size_t *out_sz,