Skip to content

Include client's time zone as part of Page object #4186

@FeodorFitsner

Description

@FeodorFitsner

Discussed in #4175

More about time zone in Flutter:

We should pass two values from a dart client (which runs in the browser when app is a web app):

  • date.timeZoneName - string
  • date.timeZoneOffset - Duration

On Python side we create Flet implementation of datetime.tzinfo class which requires offset, DST adjustment (not sure about that) and zone name.

Later on in a user code tzinfo can be used with datetime, e.g. datetime.datetime.now(tz)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement/Optimizationfeature requestSuggestion/Request for additional feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions