* Add FormatDateTime function to BLocale

* Use the function to localize the date/time in tracker.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37949 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues
2010-08-07 11:22:16 +00:00
parent abfa93e2e6
commit 4a7b2e0484
5 changed files with 47 additions and 192 deletions
+4 -4
View File
@@ -39,10 +39,10 @@ public:
void FormatString(char* target, size_t maxSize,
char* fmt, ...);
void FormatString(BString* buffer, char* fmt, ...);
void FormatDateTime(char* target, size_t maxSize,
const char* fmt, time_t value);
void FormatDateTime(BString* buffer, const char* fmt,
time_t value);
status_t FormatDateTime(char* target, size_t maxSize,
time_t time, bool longFormat);
status_t FormatDateTime(BString* buffer, time_t time,
bool longFormat);
// Date