question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't emulate timetz and time with time zone correctly

See original GitHub issue

Describe the bug Currently the Data API will always convert every type containing a timezone into UTC. For example, if you save the value “15:30:00 PST” into a timetz or a time with time zone column and then query the same row it will return “23:30:00”.

Local Data API, however, returns a string with timezone “15:30:00 PST”.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
ArsenyYankovskycommented, Apr 6, 2021

@koxudaxi Thanks for the fix and for the awesome project. Great job!

1reaction
koxudaxicommented, Mar 28, 2021

Thank you for the reports. I will fix it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Postgres time with time zone equality - sql - Stack Overflow
Here are two ways to evaluate timetz equality: SELECT a, b, a = b AS plain_equality , '2000-1-1'::date + a = '2000-1-1'::date +...
Read more >
Time, TIMETZ, Timestamp and TimestampTZ in PostgreSQL
The TIMESTAMP column does not regard the time zone, so drops that ... from 19:00 to 17:00 to display correctly in the session...
Read more >
timestamptz? · Issue #561 · duckdb/duckdb - GitHub
add support TIMESTAMP WITHOUT TIME ZONE and TIMESTAMP WITH TIME ZONE ... the correct TZ, but typically something somewhere uses local time, ...
Read more >
PostgreSQL Timestamps and Timezones: What You Need to ...
They also provide far more functionality than a correct ... Notice that the two spellings, “time zone” and “timezone” (with and without a ......
Read more >
5.1.15 MySQL Server Time Zone Support
The permissible values for TZ and --timezone are system dependent. ... The session time zone setting does not affect values displayed by functions...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found