Skip to content

Commit 9df0098

Browse files
committed
doc UPDATE clarify date-and-time string value
Refs #2346
1 parent 14a0c08 commit 9df0098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tree_data.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2668,7 +2668,7 @@ LIBYANG_API_DECL int ly_time_tz_offset_at(time_t time);
26682668
/**
26692669
* @brief Convert date-and-time from string to UNIX timestamp and fractions of a second.
26702670
*
2671-
* @param[in] value Valid string date-and-time value.
2671+
* @param[in] value Valid string date-and-time value, the string may continue after the value (be longer).
26722672
* @param[out] time UNIX timestamp.
26732673
* @param[out] fractions_s Optional fractions of a second, set to NULL if none.
26742674
* @return LY_ERR value.
@@ -2688,7 +2688,7 @@ LIBYANG_API_DECL LY_ERR ly_time_time2str(time_t time, const char *fractions_s, c
26882688
/**
26892689
* @brief Convert date-and-time from string to timespec.
26902690
*
2691-
* @param[in] value Valid string date-and-time value.
2691+
* @param[in] value Valid string date-and-time value, the string may continue after the value (be longer).
26922692
* @param[out] ts Timespec.
26932693
* @return LY_ERR value.
26942694
*/

0 commit comments

Comments
 (0)