Skip to content

datetime.datetime with zoneinfo.ZoneInfo as tzinfo not working #100

@rudcode

Description

@rudcode

Using test_value_converter.py with this change will fail the test with excecption psqlpy.exceptions.PyToRustValueMappingError: Can't convert value from python to rust type: Can not convert you datetime to rust type

now_datetime_with_tz = datetime.datetime(
    2024,
    4,
    13,
    17,
    3,
    46,
    142574,
    tzinfo=zoneinfo.ZoneInfo(key='Asia/Jakarta'),
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions