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

%date gives incorrect dates. #52

Open
kupietools opened this issue Apr 10, 2022 · 0 comments
Open

%date gives incorrect dates. #52

kupietools opened this issue Apr 10, 2022 · 0 comments

Comments

@kupietools
Copy link

kupietools commented Apr 10, 2022

I use the following custom command to send my alerts to terminalnotifier, so that I can log the parameters for troubleshooting purposes:

/bin/bash /Users/home/Dropbox/Documents/IT/Shell\ Scripts/terminalNotifierForThunderbird.sh -s %sender -d %date -t %time -j %subject -f %folder -u %msg_uri

My log entries show that, for instance, for an email dated 10/21/15 10:28 PM, Mailbox-alert sends the value 6/20/47775 as %date and 2:03:20 AM as %time.

This is a problem because I am migrating over 65,000 old emails from another account, and I don't want to turn off alerts because then I couldn't see new emails come in, but I want to filter by date in my script to prevent me from getting 65,000 alerts. I can't figure out how it's getting the values it's sending as dates, though.

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

No branches or pull requests

1 participant