From 5f4b6eee16403e5dbf4571aa7bad06dc19f97597 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 22 Apr 2004 18:25:46 +0000 Subject: Rewrite ustrftime(), so that (a) it uses wcsftime() where available, and (b) it doesn't trip over strange Unicode characters in the format string. [originally from svn r4120] --- halibut.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'halibut.h') diff --git a/halibut.h b/halibut.h index f3de665..3205e46 100644 --- a/halibut.h +++ b/halibut.h @@ -289,7 +289,7 @@ int utoi(wchar_t *); int utob(wchar_t *); int uisdigit(wchar_t); wchar_t *ustrlow(wchar_t *s); -wchar_t *ustrftime(wchar_t *fmt, struct tm *timespec); +wchar_t *ustrftime(const wchar_t *wfmt, const struct tm *timespec); int cvt_ok(int charset, const wchar_t *s); /* -- cgit v1.1