jpalmieri / zendesk-progress-bar

A progress bar which shows the number of tickets the current Zendesk agent has solved
https://www.zendesk.com/apps/solved-tickets-progress-bar/
2 stars 3 forks source link

Refactor date queries #4

Closed jpalmieri closed 8 years ago

jpalmieri commented 8 years ago

@PolRod People seem to be excited about this app, so I'm gonna try to clean up the code and probably submit it to ZD labs. If you have time to take a look, awesome. If not, all good. Just let me know and I'll merge.

This PR just cleans up the date functions; the functionality should be the same. The relevant chunks are at lines 47 and 70.

PolRod commented 8 years ago

Nice! Much cleaner. Go and be famous!