mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +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 id="date"><b>date</b>:
|
||||
Although this type is internally used as an <code>int</code>,
|
||||
you can pass a <code>datetime</code> object instead to work
|
||||
with date parameters.
|
||||
you can pass a <code>datetime</code> or <code>date</code> object
|
||||
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>
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user