diff --git a/group__utility.html b/group__utility.html index cab05ad3..020f8eae 100644 --- a/group__utility.html +++ b/group__utility.html @@ -94,7 +94,7 @@ Functions  Converts a duration in seconds to a watch_duration_t struct. More...
  watch_date_time watch_utility_date_time_from_unix_time (uint32_t timestamp, uint32_t utc_offset) - Returns the UNIX time (seconds since 1970) for a given watch_date_time struct. More...
+ Returns a watch_date_time struct for a given UNIX time and UTC offset. More...
  bool watch_utility_convert_to_12_hour (watch_date_time *date_time)  Converts a watch_date_time for 12-hour display. More...
@@ -299,7 +299,7 @@ uint32_t watch_duration_t:
-

Returns the UNIX time (seconds since 1970) for a given watch_date_time struct.

+

Returns a watch_date_time struct for a given UNIX time and UTC offset.

Parameters
diff --git a/watch__utility_8h_source.html b/watch__utility_8h_source.html index d8a06ac4..a432aaa5 100644 --- a/watch__utility_8h_source.html +++ b/watch__utility_8h_source.html @@ -125,7 +125,7 @@ $(function() {
126
127#endif
float watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance)
Returns a temperature in degrees Celsius for a given thermistor voltage divider circuit.
Definition: watch_utility.c:172
-
watch_date_time watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset)
Returns the UNIX time (seconds since 1970) for a given watch_date_time struct.
Definition: watch_utility.c:79
+
watch_date_time watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset)
Returns a watch_date_time struct for a given UNIX time and UTC offset.
Definition: watch_utility.c:79
bool watch_utility_convert_to_12_hour(watch_date_time *date_time)
Converts a watch_date_time for 12-hour display.
Definition: watch_utility.c:165
watch_duration_t watch_utility_seconds_to_duration(uint32_t seconds)
Converts a duration in seconds to a watch_duration_t struct.
Definition: watch_utility.c:154
watch_date_time watch_utility_date_time_convert_zone(watch_date_time date_time, uint32_t origin_utc_offset, uint32_t destination_utc_offset)
Converts a time from a given time zone to another time zone.
Definition: watch_utility.c:149
timestampThe UNIX timestamp that you wish to convert.