graylog2-server
graylog2-server copied to clipboard
re-add year back to interval selection
Add year into the selection for an interval in a widget. See image.
![Screenshot 2022-07-06 at 14 35 56](https://user-images.githubusercontent.com/1190735/177552227-73f078d5-d48c-4b5b-b77b-6db82e095e0a.png)
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.