summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mint/taler-mint-httpd_parsing.c4
-rw-r--r--src/mint/taler-mint-httpd_parsing.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/mint/taler-mint-httpd_parsing.c b/src/mint/taler-mint-httpd_parsing.c
index ad307dd45..c492eccef 100644
--- a/src/mint/taler-mint-httpd_parsing.c
+++ b/src/mint/taler-mint-httpd_parsing.c
@@ -887,7 +887,9 @@ TMH_PARSE_release_data (struct TMH_PARSE_FieldSpecification *spec)
/**
- * Parse absolute time specified in JSON format.
+ * Parse absolute time specified in JSON format. The JSON format is
+ * "/TIMEVAL/" where TIMEVAL is in milliseconds. Additionally, we
+ * support "/forever/" to represent the end of time.
*
* @param connection the MHD connection (to report errors)
* @param f json specification of the amount
diff --git a/src/mint/taler-mint-httpd_parsing.h b/src/mint/taler-mint-httpd_parsing.h
index 0a61d0770..4714ab6a0 100644
--- a/src/mint/taler-mint-httpd_parsing.h
+++ b/src/mint/taler-mint-httpd_parsing.h
@@ -323,7 +323,9 @@ TMH_PARSE_amount_json (struct MHD_Connection *connection,
/**
- * Parse absolute time specified in JSON format.
+ * Parse absolute time specified in JSON format. The JSON format is
+ * "/TIMEVAL/" where TIMEVAL is in milliseconds. Additionally, we
+ * support "/forever/" to represent the end of time.
*
* @param connection the MHD connection (to report errors)
* @param f json specification of the amount