Graylog2 / Graylog2/graylog2-server

re-add year back to interval selection

Open
#13,010 0 comments 0 reactions 0 assignees View on GitHub
feature Low Prio
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

Add year into the selection for an interval in a widget. See image.

Screenshot 2022-07-06 at 14 35 56

## Why?

Due to bugfix #12960, `y` was re-introduced as parseable in a `TimeUnitInterval` in searches. It was removed back in the day because ES dropped support for `y`. Because of our own handling, we already convert months internally into days and by the same logic could do the same with years.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.