vectordotdev/vrl

Add timezone support for parse_timestamp

Opened this issue ยท 1 comments

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

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.