smithfarm / dochazka-cli

Dochazka CLI client
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

INTERVAL FETCH display helpful message only if partial intervals actually present #31

Closed smithfarm closed 8 years ago

smithfarm commented 8 years ago

The message about partial intervals could be confusing and unexpected:

Dochazka(2016-01-31) ncutler ACTIVE> interval 2016-01-29
Attendance intervals of ncutler (EID 3)
in the range [ 2016-01-29 00:00, 2016-01-29 24:00 )

IID Begin            End              Code Description
39  2016-01-29 08:00 2016-01-29 12:00 WORK            
40  2016-01-29 12:30 2016-01-29 16:30 WORK            

Partial intervals signified by **

Display the message only if ** intervals are present in the listing.