Skip to content

DateTime::Format::* does not have format_timestamp_without_timezone m… #137

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

Open
wants to merge 2 commits into
base: maint/0.0828xx
Choose a base branch
from

Conversation

KES777
Copy link

@KES777 KES777 commented Oct 28, 2020

FIXES: RT133622

https://metacpan.org/pod/DateTime::Format::Oracle
https://metacpan.org/pod/DateTime::Format::Pg

Has method 'format_timestamp_with_time_zone' so we should rename

@abraxxa
Copy link
Contributor

abraxxa commented Nov 2, 2020

So there is no test for this, neither for Oracle nor for PostgreSQL so this was unnoticed for so many years?
I guess that it was a typo in the initial implementation.
DateTime::Format::Oracle has it wrong in its Changes file as well, was added in 0.05.
Looks like nobody is storing timezones, at least we don't and convert to/from UTC.

Please add at least one test case so it can't happen again, thanks!

@KES777
Copy link
Author

KES777 commented Mar 22, 2025

Ping

@abraxxa
Copy link
Contributor

abraxxa commented Mar 24, 2025

As written earlier can you please also add a test case? Thanks!

@KES777
Copy link
Author

KES777 commented Mar 24, 2025

Yes, I'll do this or next week. I have a bit of time. Right now I am working on PR for SQL::Translator.

@KES777 KES777 changed the title DateTime::Format::* does not have fromat_timestamp_without_timezone m… DateTime::Format::* does not have format_timestamp_without_timezone m… Apr 1, 2025
@KES777 KES777 force-pushed the fix_method_name branch from df981d8 to 4bc2376 Compare April 6, 2025 02:14
@KES777
Copy link
Author

KES777 commented Apr 6, 2025

Done!

@KES777 KES777 force-pushed the fix_method_name branch from 4bc2376 to c58f24e Compare April 6, 2025 02:21
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

Successfully merging this pull request may close these issues.

2 participants