feat(bot): allow timestamps in "military time" (HHmm, no colon)

This commit is contained in:
Iris System 2023-01-08 03:07:09 +13:00
parent 25c55df3b3
commit 631c6027ab

View File

@ -88,6 +88,7 @@ public class DateUtils
var timePatterns = new[]
{
"H:mm", // 4:30
"HHmm", // 2330
"HH:mm", // 23:30
"H:mm:ss", // 4:30:29
"HH:mm:ss", // 23:30:29