mirror of
https://github.com/rickbarrette/stopwatch.git
synced 2026-11-17 19:50:36 -05:00
Add a closing time that stops timers
A new Closing time setting (e.g. 17:00, in each user's time zone): a timer started before closing stops at closing time and its entry's comment notes it, so no time is logged after closing, even when nobody stops it until the next day. A timer started after closing is overtime and keeps running, up to the maximum timer length. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
This commit is contained in:
6 files changed
+108
-4
No files matched your search
@@ -9,6 +9,12 @@
|
||||
<em class="info"><%= t '.text_max_timer_hours' %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label for="settings_stop_time"><%= t '.label_stop_time' %></label>
|
||||
<%= time_field_tag 'settings[stop_time]', Stopwatch.settings['stop_time'], id: 'settings_stop_time' %>
|
||||
<em class="info"><%= t '.text_stop_time' %></em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label for="settings_highlighted_links"><%= t '.label_highlighted_links' %> </label>
|
||||
<%= hidden_field_tag 'settings[highlighted_links]', '0', id: nil %>
|
||||
|
||||
Reference in new issue
Block a user