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

Add timezone support for parse_timestamp #962

Open
sandervandegeijn opened this issue Jul 29, 2024 · 1 comment
Open

Add timezone support for parse_timestamp #962

sandervandegeijn opened this issue Jul 29, 2024 · 1 comment
Labels
type: feature A value-adding code addition that introduce new functionality. vrl: stdlib Changes to the standard library

Comments

@sandervandegeijn
Copy link

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

I have a timestamp in localtime. Vector assumes it is UTC, offsetting the time with 2 hours (CEST currently, Europe/Amsterdam). Adding a timezone parameter can solve this.

Attempted Solutions

Offsetting by hand, but we have summertime and wintertime...

Proposal

Implement timezone parameter

References

No response

Version

0.39

@sandervandegeijn sandervandegeijn added the type: feature A value-adding code addition that introduce new functionality. label Jul 29, 2024
@jszwedko
Copy link
Member

I think this would be useful to have at the function level, but just a note that it is possible to configure the timezone on the remap the transform. That should be used by parse_timestamp.

I'll move this request to the VRL repository.

@jszwedko jszwedko transferred this issue from vectordotdev/vector Jul 29, 2024
@jszwedko jszwedko added the vrl: stdlib Changes to the standard library label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature A value-adding code addition that introduce new functionality. vrl: stdlib Changes to the standard library
Projects
None yet
Development

No branches or pull requests

2 participants