diff options
author | 2008-12-17 18:05:43 -0800 | |
---|---|---|
committer | 2008-12-17 18:05:43 -0800 | |
commit | e09fd9e819c23dc90bca68375645e15544861330 (patch) | |
tree | 9a9fdadd1301625f875a3c126c986c79e3363ac4 /libs/ui/Time.cpp | |
parent | 7c1b96a165f970a09ed239bb4fb3f1b0d8f2a407 (diff) |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'libs/ui/Time.cpp')
-rw-r--r-- | libs/ui/Time.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ui/Time.cpp b/libs/ui/Time.cpp index c98667f825..b5539135fa 100644 --- a/libs/ui/Time.cpp +++ b/libs/ui/Time.cpp @@ -85,10 +85,10 @@ Time::switchTimezone(const char* timezone) } 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 { |