aboutsummaryrefslogtreecommitdiffstats
path: root/util/datetime
diff options
context:
space:
mode:
authorkaravashkin <karavashkin@yandex-team.ru>2022-02-10 16:52:11 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:52:11 +0300
commit2d871ce6768b06ca47246e0750bb7936480676f9 (patch)
treecea338ae8552ad98a42db67ba707793226f4b647 /util/datetime
parent7303d36b292cb0752d41a44b9e187b51d00b1ac1 (diff)
downloadydb-2d871ce6768b06ca47246e0750bb7936480676f9.tar.gz
Restoring authorship annotation for <karavashkin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/datetime')
-rw-r--r--util/datetime/parser.rl62
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datetime/parser.rl6 b/util/datetime/parser.rl6
index 931f09eae1..308620246a 100644
--- a/util/datetime/parser.rl6
+++ b/util/datetime/parser.rl6
@@ -456,7 +456,7 @@ template<class TParser, class TResult, bool ThrowExceptionOnFailure = true>
static inline TResult ParseUnsafe(const char* input, size_t len) {
TResult r = Parse<TParser, TResult>(input, len, TResult::Max());
if (ThrowExceptionOnFailure && r == TResult::Max())
- ythrow TDateTimeParseException() << "error in datetime parsing. Input data: " << TStringBuf(input, len);
+ ythrow TDateTimeParseException() << "error in datetime parsing. Input data: " << TStringBuf(input, len);
return r;
}