Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse_datetime/parse_timestamptz does not parse given valid string #23

Open
mnbv09870987 opened this issue Oct 15, 2021 · 1 comment
Open

Comments

@mnbv09870987
Copy link

image

DateTime::Format::Pg->parse_timestamptz( '2021-10-12 09:04:07 EST' )
  ERROR: Invalid date format: 2021-10-12 09:04:07 EST at

Hi. As you can see on the picture above the datetime is parsed by postgresql server successfully, but parsing via module does not work

@yewtc
Copy link
Contributor

yewtc commented Apr 4, 2023

The parser converts a pg formatted date to DateTime format. Pg wouldn't naturally specify the time zone as EST, but as +03 as you show so this isn't a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants