commit | e09fd9e819c23dc90bca68375645e15544861330 | [log] [tgz] |
---|---|---|
author | The Android Open Source Project <initial-contribution@android.com> | Wed Dec 17 18:05:43 2008 -0800 |
committer | The Android Open Source Project <initial-contribution@android.com> | Wed Dec 17 18:05:43 2008 -0800 |
tree | 9a9fdadd1301625f875a3c126c986c79e3363ac4 | |
parent | 7c1b96a165f970a09ed239bb4fb3f1b0d8f2a407 [diff] [blame] |
Code drop from //branches/cupcake/...@124589
diff --git a/libs/ui/Time.cpp b/libs/ui/Time.cpp index c98667f..b553913 100644 --- a/libs/ui/Time.cpp +++ b/libs/ui/Time.cpp
@@ -85,10 +85,10 @@ } String8 -Time::format(const char *format) const +Time::format(const char *format, const struct strftime_locale *locale) const { char buf[257]; - int n = strftime(buf, 257, format, &(this->t)); + int n = strftime_tz(buf, 257, format, &(this->t), locale); if (n > 0) { return String8(buf); } else {