mdomke / python-ulid

ULID implementation for Python
https://python-ulid.rtfd.io
MIT License
412 stars 19 forks source link

how to set timezone #17

Closed yuqiuwen closed 7 months ago

Avihais12344 commented 7 months ago

You can use the from_datetime method, and give the datetime a timezone.

But if you want the format to include timezones, then I think you can't because of the spec.