Skip to content

Espanso package to easy get dates like: today, yesterday, last friday, 1-st day of last month, etc.

License

Notifications You must be signed in to change notification settings

kopach/espanso-package-date-utilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#StandWithUkraine

Date utilities

Espanso package to easy get dates like: today, yesterday, last Friday, 1-st day of last month, etc.

⭐️ Consider starring this package on GitHub — it helps!

✨ 👉 Check out my other espanso packages 👈 ✨

demo

Installation

⚠️ To use this package, make sure you have installed

  1. Espanso
  2. Node

Either install with espanso install

waiting for federico-terzi/espanso-hub#59 which is currently blocked due to espanso/espanso#563 (comment)

espanso install date-utilities
espanso restart

Or using git

cd "$(espanso path config)/user"
git clone https://github.com/kopach/espanso-package-date-utilities.git
espanso restart

That's all. You can start using the package.

Triggers

Keyword Description
:d0 Today
:d1 Tomorrow
:d2 Day after tomorrow
:d3 Three days from now
:d4 Four days from now
:d5 Five days from now
:d6 Six days from now
:d7 Week from now
:d-1 Yesterday
:d-2 Day before yesterday
:d-3 Three days ago
:d-4 Four days ago
:d-5 Five days ago
:d-6 Six days ago
:d-7 Week ago
:lsu Last Sunday
:lmo Last Monday
:ltu Last Tuesday
:lwe Last Wednesday
:lth Last Thursday
:lfr Last Friday
:lsa Last Saturday
:nsu Next Sunday
:nmo Next Monday
:ntu Next Tuesday
:nwe Next Wednesday
:nth Next Thursday
:nfr Next Friday
:nsa Next Saturday
:1dtm First day of this month
:ldtm Last day of this month
:1dnm First day of next month
:ldnm Last day of next month
:1dpm First day of previous month
:ldpm Last day of previous month
:motw Monday this week
:tutw Tuesday this week
:wetw Wednesday this week
:thtw Thursday this week
:frtw Friday this week
:satw Saturday this week

Contribute

Please, feel free to contribute to this package on GitHub

TODO

  • add time format variable, so user can change time format (blocked by espanso/espanso#693)
  • add first day of week variable, so user can use date of Sunday of this/next/previous week (blocked by espanso/espanso#693)

Credits

Inspired by Past and Future Dates for Text Expander app

📄 License

This espanso package licensed under the MIT

About

Espanso package to easy get dates like: today, yesterday, last friday, 1-st day of last month, etc.

Resources

License

Stars

Watchers

Forks

Sponsor this project