2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 14:08:41 +00:00

Fix schedule time selection.

This commit is contained in:
John Preston
2019-08-31 14:21:52 +03:00
parent 7be1c4ca2f
commit 16b786186b

View File

@@ -137,7 +137,7 @@ private:
QTime ValidateTime(const QString &value) {
const auto match = QRegularExpression(
"^(\\d\\d)\\:(\\d\\d)$").match(value);
"^(\\d{1,2})\\:(\\d\\d)$").match(value);
if (!match.hasMatch()) {
return QTime();
}