Skip to content

why does the datetimepicker return the utc time #78

@qiezihwy

Description

@qiezihwy

By default, the showOmniDateTimePicker function returns the current UTC time in ISO 8601 format.
on this condition,if the devcice is not actucally located at UTC time zone ,the datetime return by showOmniDateTimePicker is wrong.
why not return current local time without the 'Z' suffix.
for more information please contact with me,best wishes to you!

version info:
omni_datetime_picker: ^2.0.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions