add _to_ns to utils
This commit is contained in:
parent
fcb1427a8c
commit
a3e6d557b2
@ -2837,3 +2837,7 @@ missing_keys_html_form = """
|
||||
</body>
|
||||
</html>
|
||||
"""
|
||||
|
||||
|
||||
def _to_ns(dt):
|
||||
return int(dt.timestamp() * 1e9)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user