Remove todo and add comment about whitespace stripping
This commit is contained in:
parent
a0bc1e3d06
commit
8d7988a0c4
|
@ -17,7 +17,7 @@ to represent them, and for validating such dates/times.
|
||||||
|
|
||||||
/*! \brief Parse ISO8601 date/time.
|
/*! \brief Parse ISO8601 date/time.
|
||||||
|
|
||||||
\param str The input string.
|
\param str The input string. Whitespace will be stripped.
|
||||||
\param[out] earliest The earliest possible time the string could represent. May be 0.
|
\param[out] earliest The earliest possible time the string could represent. May be 0.
|
||||||
\param[out] latest The latest possible time the string could represent. May be 0.
|
\param[out] latest The latest possible time the string could represent. May be 0.
|
||||||
\param[out] details Stores details such as the precision to which the time/date were specified. May
|
\param[out] details Stores details such as the precision to which the time/date were specified. May
|
||||||
|
@ -31,8 +31,6 @@ and latest times that could possibly be represented by the string.
|
||||||
|
|
||||||
Note that this function will accept leap seconds (23:59:60) on days on which they occurred.
|
Note that this function will accept leap seconds (23:59:60) on days on which they occurred.
|
||||||
|
|
||||||
\todo Strip whitespace.
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
int iso8601_parse(const char* str, struct iso8601_date* earliest, struct iso8601_date* latest,
|
int iso8601_parse(const char* str, struct iso8601_date* earliest, struct iso8601_date* latest,
|
||||||
struct iso8601_details* details);
|
struct iso8601_details* details);
|
||||||
|
|
Loading…
Reference in New Issue