diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a224007..5e577249 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Docker image is now using slim image to introduce some memory optimizations. - The trip page now looks a bit nicer. +- The "Yesterday" button on the map page was changed to "Today". #1215 # 0.26.3 - 2025-05-18 diff --git a/app/views/map/index.html.erb b/app/views/map/index.html.erb index 18368fa2..011bf06a 100644 --- a/app/views/map/index.html.erb +++ b/app/views/map/index.html.erb @@ -42,8 +42,8 @@
- <%= link_to "Yesterday", - map_path(start_at: Date.yesterday.beginning_of_day, end_at: Date.yesterday.end_of_day, import_id: params[:import_id]), + <%= link_to "Today", + map_path(start_at: Time.current.beginning_of_day, end_at: Time.current.end_of_day, import_id: params[:import_id]), class: "btn btn-neutral hover:btn-ghost" %>