commit 929a99cdbb579e53fe458752b147c10344c92aca
parent 45a0c893161d7d0abd950a303f6e2fdc6df880d4
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 11 Apr 2015 16:32:05 +0200
more complete documentation
Diffstat:
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
@@ -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
@@ -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