Skip to content

Wrong check in time parsing #12739

Description

@gengliqi

Bug Report

related issue pingcap/tidb#35054.
If a DateTime has a fraction and 'Z' like 2022-06-02T10:10:10.123Z, the parse function will return Incorrect datetime value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-5.0This bug affects 5.0.x versions.affects-5.1This bug affects 5.1.x versions.affects-5.2This bug affects 5.2.x versions.affects-5.3This bug affects 5.3.x versions.affects-5.4This bug affects the 5.4.x(LTS) versions.affects-6.0affects-6.1This bug affects the 6.1.x(LTS) versions.severity/criticalsig/coprocessorSIG: Coprocessortype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions