From a2f2a28b315248e9bd8651cb1cfc0d4d69c425af Mon Sep 17 00:00:00 2001 From: Anton Danielsson Date: Fri, 9 Oct 2015 09:05:19 +0200 Subject: [PATCH] Changed date format to ISO 8601. --- src/string_util.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/string_util.cc b/src/string_util.cc index 0b35cc48..30d13050 100644 --- a/src/string_util.cc +++ b/src/string_util.cc @@ -128,7 +128,7 @@ std::string StringPrintFImp(const char *msg, va_list args) // allocation guess what the size might be std::array local_buff; std::size_t size = local_buff.size(); - // 8/10/2015: vsnprintf is used instead of snd::vsnprintf due to a limitation in the android-ndk + // 2015-10-08: vsnprintf is used instead of snd::vsnprintf due to a limitation in the android-ndk auto ret = vsnprintf(local_buff.data(), size, msg, args_cp); va_end(args_cp); @@ -143,7 +143,7 @@ std::string StringPrintFImp(const char *msg, va_list args) // add 1 to size to account for null-byte in size cast to prevent overflow size = static_cast(ret) + 1; auto buff_ptr = std::unique_ptr(new char[size]); - // 8/10/2015: vsnprintf is used instead of snd::vsnprintf due to a limitation in the android-ndk + // 2015-10-08: vsnprintf is used instead of snd::vsnprintf due to a limitation in the android-ndk ret = vsnprintf(buff_ptr.get(), size, msg, args); return std::string(buff_ptr.get()); }