probot-ooo icon indicating copy to clipboard operation
probot-ooo copied to clipboard

Honor single-day OOOs without needing a range

Open JamesMGreene opened this issue 5 years ago • 0 comments

I would be nice to honor single-day OOOs without needing to specify a range.

For example, this works:

/ooo from 6/19 to 6/19

But this does not:

/ooo on 6/19

image


I used the same sherlockjs parser in my Services spreadsheet-updating Action (internal to GitHub) and, when parsing such a command, it does parse out a startDate but not an endDate. So, basically, if you ended up in that situation, I would suggest filling in the default value of endDate as being at "23:59:59.999Z" on the same UTC date as startDate.

JamesMGreene avatar Jun 04 '19 18:06 JamesMGreene