Skip to content

Commit e1413fd

Browse files
committed
docs: add note for timezone
1 parent d9ad9bc commit e1413fd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎user_guide_src/source/libraries/time.rst‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ create a new Time instance:
129129

130130
If you do not explicitly pass a timezone, it returns a Time instance with **UTC**.
131131

132+
.. note:: We recommend to always call ``createFromTimestamp()`` with 2 parameters
133+
(i.e. explicitly pass a timezone) unless using UTC as the default timezone.
134+
132135
.. note:: In v4.4.6 to prior to v4.6.0, this method returned a Time instance
133136
with the default timezone when you do not specify a timezone.
134137

0 commit comments

Comments
 (0)