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

Fixed TZ with DST on calendar operations #324

Closed
wants to merge 1 commit into from
Closed

Fixed TZ with DST on calendar operations #324

wants to merge 1 commit into from

Conversation

javiber
Copy link
Collaborator

@javiber javiber commented Dec 6, 2023

No description provided.

Copy link

github-actions bot commented Dec 6, 2023

Coverage report

Main: 91.12% | PR: 91.11% | Diff: -0.01 ⚠️

key="utc_offset",
type=pb.OperatorDef.Attribute.Type.FLOAT_64,
key="tz",
type=pb.OperatorDef.Attribute.Type.ANY,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be interesting to see if a tzinfo is considered a string. If not, to simplify the serialization, would it be export / imported from a string?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how it can be serialized but it should be possible to use a string. In the new optimized version, this value is no longer a tzinfo, instead it can be a float, int or string

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

int, float and string can be well serialized.

Copy link
Collaborator

@achoum achoum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome

@javiber
Copy link
Collaborator Author

javiber commented Dec 15, 2023

MAde obsolete by #325

@javiber javiber closed this Dec 15, 2023
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.

None yet

2 participants