diff options
author | Andrey Neporada <[email protected]> | 2022-06-09 23:40:45 +0300 |
---|---|---|
committer | Andrey Neporada <[email protected]> | 2022-06-09 23:40:45 +0300 |
commit | 683b886494d96e8ab3e8b571c91e69eb03cd8606 (patch) | |
tree | d4e24969510677fb89da68ea8fb0a94188c44213 | |
parent | 7e6bab276f87d03a168807b7dc84471d4de36ddf (diff) |
[YQL-14977] Fix %B handling in Datetime::Parse
ref:21f7b7a1872182203669ea967302c45ff0bedaff
-rw-r--r-- | ydb/library/yql/udfs/common/datetime2/datetime_udf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/library/yql/udfs/common/datetime2/datetime_udf.cpp b/ydb/library/yql/udfs/common/datetime2/datetime_udf.cpp index 06430b5fee5..f0ce659db47 100644 --- a/ydb/library/yql/udfs/common/datetime2/datetime_udf.cpp +++ b/ydb/library/yql/udfs/common/datetime2/datetime_udf.cpp @@ -1599,7 +1599,7 @@ namespace { const std::string_view monthName{start, cnt}; ui8 month = 0U; - if (cnt < 4 || !ValidateMonthFullName(monthName, month)) { + if (!ValidateMonthFullName(monthName, month)) { return false; } SetMonth(result, month); |