summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_utility.h
diff options
context:
space:
mode:
Diffstat (limited to 'watch-library/watch/watch_utility.h')
-rw-r--r--watch-library/watch/watch_utility.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/watch-library/watch/watch_utility.h b/watch-library/watch/watch_utility.h
index a6035dc3..5374fb1c 100644
--- a/watch-library/watch/watch_utility.h
+++ b/watch-library/watch/watch_utility.h
@@ -46,6 +46,7 @@ const char * watch_utility_get_weekday(watch_date_time date_time);
* @param hour The hour of the date you wish to convert.
* @param minute The minute of the date you wish to convert.
* @param second The second of the date you wish to convert.
+ * @param utc_offset The number of seconds that date_time is offset from UTC, or 0 if the time is UTC.
* @return A UNIX timestamp for the given date/time and UTC offset.
* @note Implemented by Wesley Ellis (tahnok) and based on BSD-licensed code by Josh Haberman:
* https://blog.reverberate.org/2020/05/12/optimizing-date-algorithms.html