From 9e451113e8265790907aceaac814fbe324fb1e33 Mon Sep 17 00:00:00 2001 From: Thomas Sondergaard Date: Wed, 21 Mar 2012 21:02:30 +0100 Subject: Use value of LANG if LC_TIME is empty. Task-number: QTBUG-24912 Change-Id: I68d91c02f5d82b7fc4cae0d2dedafb862a3b323b Reviewed-by: Denis Dzyubenko Reviewed-by: John Layt --- src/corelib/tools/qlocale_unix.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/corelib/tools/qlocale_unix.cpp b/src/corelib/tools/qlocale_unix.cpp index dd99792..8e8f290 100644 --- a/src/corelib/tools/qlocale_unix.cpp +++ b/src/corelib/tools/qlocale_unix.cpp @@ -94,6 +94,8 @@ struct QSystemLocaleData lang = QByteArray("C"); if (numeric.isEmpty()) numeric = lang; + if (time.isEmpty()) + time = lang; if (monetary.isEmpty()) monetary = lang; if (lc_messages_var.isEmpty()) -- cgit v0.12