mndrix / clk

a distributed time clock application for the command line
The Unlicense
2 stars 0 forks source link

'last month' incorrect after short months #14

Open mndrix opened 14 years ago

mndrix commented 14 years ago

Running clk ls -p 'last month' on 1 October 2010 displayed entries for September 2010. I assume this is because September only has 30 days but October has 31. I'm probably subtracting a certain number of days rather than subtracting a month.

Anyway, it needs to be fixed