Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REQ: Show trigger time on timer 'window'. #1

Closed
bs27975 opened this issue Feb 15, 2024 · 5 comments
Closed

REQ: Show trigger time on timer 'window'. #1

bs27975 opened this issue Feb 15, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@bs27975
Copy link

bs27975 commented Feb 15, 2024

Thank you for the excellent enhancements you have been making.

I have cmd scripts to quickly create timers, such as this one for every 2h:
image

Could the 'trigger time' be shown in the lower right (or something), much like the timer title is shown just above the 'time to trigger' time display? Here, e.g. '8;30:02 pm'.

Depending upon the duration, sometimes it is more useful to know when to return to something, than knowing how long until it happens. [The program has no way to know which is which, when. Thus this request.]

@i2van i2van added the enhancement New feature or request label Feb 15, 2024
@i2van
Copy link
Owner

i2van commented Feb 15, 2024

You can specify time in the command line for the title from batch or cmd as follows (depends from your system locale):

hourglass -t "Timer 1 %DATE% %TIME:~0,8%" 10

%TIME:~0,8% takes first 8 symbols, which are hh:mm:ss in my locale.

image

@bs27975
Copy link
Author

bs27975 commented Feb 15, 2024

I understand that. I frequently use the desired time on the command line already. Other times the duration (on the command line).

This is about displaying the 'trigger time', not specifying it.

@i2van
Copy link
Owner

i2van commented Feb 29, 2024

US Locale:

image

image

image

@bs27975
Copy link
Author

bs27975 commented Feb 29, 2024

Yes, that is the sort of thing I meant.

However, consider the inevitable breaking down of the display into sections:
<Left> <Middle> <Right> <-- Header
<Left> <Middle> <Right> <-- Main
<Left> <Middle> <Right> <-- Footer

The 'trigger' time could go in the footer-right, leaving all else as currently displayed.
[And setting the frame (work) for future ... enhancements.]

Granted / agreed, the display gets more complex when the timer is to go off after the next midnight.
Thus footer left could be 'tomorrow', 'tuesday, and so on.

I had not considered the impact of times past next midnight, beyond a date, and appreciate the idea of 'tomorrow', or 'Tuesday'. I don't envy you the design decisions you must choose.

@i2van
Copy link
Owner

i2van commented Jul 23, 2024

Implemented in 1.15.30

The Advanced options / Show trigger time timer window context menu option shows the trigger time in the timer window and in the notification area context menu. The command-line option is --show-trigger-time, -st, /st

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants