diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-04-10 17:54:14 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-04-10 17:54:14 +0000 |
commit | 1444d85b5a41c7ab9a871df5a3cab9a14f6f7bbb (patch) | |
tree | 7addcbd88e5023448d5ac2fc07723cbdc34d10e2 /libcxx | |
parent | 68aad14dd32658656a2b43e8db13cb1acb381f2e (diff) | |
download | bcm5719-llvm-1444d85b5a41c7ab9a871df5a3cab9a14f6f7bbb.tar.gz bcm5719-llvm-1444d85b5a41c7ab9a871df5a3cab9a14f6f7bbb.zip |
time_get was missing the %F specifier. This change impacts the binary.
llvm-svn: 129251
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/include/locale | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcxx/include/locale b/libcxx/include/locale index 25110eca32f..b07cb2d7573 100644 --- a/libcxx/include/locale +++ b/libcxx/include/locale @@ -2346,6 +2346,12 @@ time_get<_CharT, _InputIterator>::do_get(iter_type __b, iter_type __e, __b = get(__b, __e, __iob, __err, __tm, __fmt, __fmt + sizeof(__fmt)/sizeof(__fmt[0])); } break; + case 'F': + { + const char_type __fmt[] = {'%', 'Y', '-', '%', 'm', '-', '%', 'd'}; + __b = get(__b, __e, __iob, __err, __tm, __fmt, __fmt + sizeof(__fmt)/sizeof(__fmt[0])); + } + break; case 'H': __get_hour(__tm->tm_hour, __b, __e, __err, __ct); break; |