diff options
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 c98667f..b553913 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 { |