# How to manage the displayed date when weekly time interval is selected?

**URL:** <https://discuss.elastic.co/t/how-to-manage-the-displayed-date-when-weekly-time-interval-is-selected/354742>\
**Category:** Kibana\
**Tags:** lens\
**Created:** [March 5, 2024, 2:00pm UTC](https://discuss.elastic.co/t/how-to-manage-the-displayed-date-when-weekly-time-interval-is-selected/354742 "2024-03-05T14:00:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nnikushkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nnikushkin/32/122950_2.png) [@nnikushkin](https://discuss.elastic.co/u/nnikushkin)\
**Post date:** [March 5, 2024, 2:00pm UTC](https://discuss.elastic.co/t/how-to-manage-the-displayed-date-when-weekly-time-interval-is-selected/354742/1 "2024-03-05T14:00:51Z")

</div>

Hello!

I have weekly Sunday reports and would like to visulize them

I've noticed that when selecting a weekly time interval in any time diagram in Kibana Lens, every bucket displays the first day of the week interval.

For instance, if I am visualing the interval from January 29, 2024 (Monday) to February 4, 2024 (Sunday), it shows 2024-01-29 while hovering a mouse on the bar.

I'm wondering if there's a way to change this behavior. I'd prefer it to display the latest day in the weekly interval, such as 2024-02-04.

Could you please let me know if there's a way to adjust this?

Thank you!

Steps to reproduce:

1. Create a mapping and dummy docs via Dev Tools representing the case "I have weekly Sunday reports":

2. Create a data view called `weekly_index`

3. Create a Lens visualization in Kibana:

4. When hovering over a bar, it displays the Sunday date for every bucket, e.g.:

5. Change `@timestamp` field's `Minimal interval` to `Week`

6. Now when hovering over a bar, it displays the Monday date for every bucket, e.g.:

7. I would like it to display the Sunday date again for every bucket, e.g.:

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [March 6, 2024, 1:41pm UTC](https://discuss.elastic.co/t/how-to-manage-the-displayed-date-when-weekly-time-interval-is-selected/354742/2 "2024-03-06T13:41:49Z")

</div>

Hi @nnikushkin

there's an advanced setting in Kibana to define what it should be the first day in a week to consider.  
It looks like this setting is not picked up correctly by Lens who defaults to Monday. I've opened a ER [here](https://github.com/elastic/kibana/issues/178115).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 3, 2024, 1:42pm UTC](https://discuss.elastic.co/t/how-to-manage-the-displayed-date-when-weekly-time-interval-is-selected/354742/3 "2024-04-03T13:42:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
