summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/include/locale6
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;
OpenPOWER on IntegriCloud