]> git.earman.xyz Git - sensor-watch.git/commitdiff
Updated function brief
authorDavid Keck <davidskeck@users.noreply.github.com>
Wed, 23 Feb 2022 03:37:16 +0000 (21:37 -0600)
committerGitHub <noreply@github.com>
Wed, 23 Feb 2022 03:37:16 +0000 (21:37 -0600)
watch-library/shared/watch/watch_utility.h

index f4411ce572f605eb73fae2a8bff9e6470e3d92a4..4c50cb5938280a7195298a7a204eb79e42466efa 100644 (file)
@@ -74,7 +74,7 @@ uint32_t watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_
   */
 watch_duration_t watch_utility_seconds_to_duration(uint32_t seconds);
 
-/** @brief Returns the UNIX time (seconds since 1970) for a given watch_date_time struct.
+/** @brief Returns a watch_date_time struct for a given UNIX time and UTC offset.
   * @param timestamp The UNIX timestamp that you wish to convert.
   * @param utc_offset The number of seconds that you wish date_time to be offset from UTC.
   * @return A watch_date_time for the given UNIX timestamp and UTC offset, or if outside the range that