justicenation / slashclock

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

Entries should show sliced time #31

Closed martyychang closed 6 years ago

martyychang commented 6 years ago

When time entries have been sliced, the slices do not show up in the output of /clock entries.

Steps to reproduce

Let's say I start with the following entries.

Here's what you've clocked over the last seven days.

  1. Tue 1/16 10:15am - 5:45pm
  2. Tue 1/16 9:15am - 9:45am

Then I type /clock slice 30 minutes fun to slice the first entry.

If I type /clock entries nothing will change in the output. But what I really want to see is the same parenthetical summary of sliced time that I get in /clock report.

martyychang commented 6 years ago

I tried to set up a failing test, but the test ended up failing due to time zone problems instead. Looks like my test executed in "America/New_York" time despite my having set up test data in "Europe/London" time.

martyychang commented 6 years ago

Resolved by #38