iridakos / stup

Daily notes in the terminal :penguin:
https://github.com/iridakos/stup
MIT License
415 stars 31 forks source link

Make copy command copy entries from the last registered day, not the last calendar day #65

Open ioanniswd opened 2 years ago

ioanniswd commented 2 years ago

In some cases, e.g. on Mondays, there might not be entries for the last calendar day, but there would probably be entries for the latest working day (in this example Friday). The copy command should find the last registered day before the day to which we are copying, and copy from its entries to the day specified.