justicenation / slashclock

/clock concept as a new Slack app
GNU General Public License v3.0
0 stars 0 forks source link

/clock report #11

Closed martyychang closed 7 years ago

martyychang commented 7 years ago

This pr resolves #4 by adding the /clock report command which generates a 7-day report in the "America/New_York" time zone, assuming that Monday is the start of the week. A sample report output in Slack is pasted below.

Mon 0h
Tue 2.5h
Wed 9.25h (0.25h xyz)
Thu 11.75h (0.25h xyz)
Fri 4h (0.25h abc)
Sat 0h
Sun 0h
==========
SUM 27.5h (0.25h abc; 0.5h xyz)

All Apex tests are passing although overall code coverage is questionable.