Timezone, extending compatibility to zoneinfo and third party libraries. Timezone accepts tzinfo objects instead of.Object such as Timezone(timezone.utc) or Timezone("Africa/Abidjan") to express that you onlyĪllow a specific timezone, though we note that this is often a symptom of fragile design. Annotated must be a naive datetime.Įxpresses that any timezone-aware datetime is allowed. Timezone can be used with a datetime or a time to express which timezonesĪre allowed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |