mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-03-11 06:45:57 +03:00
Note that date objects should be UTC
This commit is contained in:
parent
5f2f04c6c2
commit
a437881ce2
|
@ -130,8 +130,12 @@ users.getUsers#0d91a548 id:Vector<InputUser> = Vector<User></pre>
|
||||||
</li>
|
</li>
|
||||||
<li id="date"><b>date</b>:
|
<li id="date"><b>date</b>:
|
||||||
Although this type is internally used as an <code>int</code>,
|
Although this type is internally used as an <code>int</code>,
|
||||||
you can pass a <code>datetime</code> object instead to work
|
you can pass a <code>datetime</code> or <code>date</code> object
|
||||||
with date parameters.
|
instead to work with date parameters.<br />
|
||||||
|
Note that the library uses the date in <b>UTC+0</b>, since timezone
|
||||||
|
conversion is not responsibility of the library. Furthermore, this
|
||||||
|
eases converting into any other timezone without the need for a middle
|
||||||
|
step.
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user