aboutsummaryrefslogtreecommitdiffstats
path: root/timetask/generator.go
AgeCommit message (Collapse)Author
2017-03-12GenerateWeeklyTimesheet: Auto-fill the date with all days in the weekTeddy Wing
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.
2017-03-12Add GenerateWeeklyTimesheet()Teddy Wing
A function to generate a weekly time sheet. Add a new `defaults` key to the config.yml file. Looks like this: defaults: client: project: module: task: work_type: time: billable: This will be used to fill in default values when a timesheet is generated.