diff options
author | Teddy Wing | 2017-03-12 21:59:58 +0100 |
---|---|---|
committer | Teddy Wing | 2017-03-12 21:59:58 +0100 |
commit | ca1e693cbde486d4a8f62bc6b41f72fc3922c299 (patch) | |
tree | 64e12e6c2a65f3c20e37f1fefca2446bc9976cbb /main.go | |
parent | 4b1de1d7bfb0261d28a192171b73388cb639eae4 (diff) | |
download | timetasker-ca1e693cbde486d4a8f62bc6b41f72fc3922c299.tar.bz2 |
GenerateWeeklyTimesheet: Auto-fill the date with all days in the week
Get Monday's date from the current week using the When library (which
provides natural language date parsing, making it super easy to get a
time object for Monday). Then when creating the `TimeEntry`ies for the
generator, fill in Monday–Friday's dates in the output.
Diffstat (limited to 'main.go')
0 files changed, 0 insertions, 0 deletions