DevChatterBot
DevChatterBot copied to clipboard
TImezone by Abbreviation - Schedule Command
We should allow specifying timezone by abbreviation instead of just an offset on the schedule command
!schedule CEST
should do the same thing as !schedule +2
.
I'll try to do this!
As ajukraine suggested in chat yesterday, another nice addition would be to get the timezone by city, as in: !schedule
@asyncawake Can you open a separate issue for that please?
@Nufflee There is now a hangman test class. I created a test for you to code this abbreviation enhancement against. In theory, if you'd like to do that, jst uncomment it and run it against your implementation until it's green. https://github.com/DevChatter/devchatterbot/blob/master/src/UnitTests/Core/Commands/ScheduleCommandTests/ProcessShould.cs