Re: [evolution-patches] Re: 43485: strftime usage in e-cell-date
- From: Jeffrey Stedfast <fejj ximian com>
- To: Mike Kestner <mkestner ximian com>
- Cc: patches <evolution-patches ximian com>
- Subject: Re: [evolution-patches] Re: 43485: strftime usage in e-cell-date
- Date: 23 May 2003 14:44:23 -0400
+
+ fmt = e_utf8_to_locale_string (fmt);
+ e_strftime_fix_am_pm (buf, 26, fmt, &then);
+ g_free (fmt);
why make buf 26 bytes? do we know for a fact that 26 is plenty for all
locales? (I know you didn't do this as part of the patch, just bringing
this up because I noticed it already there).
I presume that buf later gets transformed back into UTF-8, yes?
Jeff
On Fri, 2003-05-23 at 14:12, Mike Kestner wrote:
> On Fri, 2003-05-23 at 12:51, Mike Kestner wrote:
> > This converts the gettext provided fmt strings to locale string before
> > calling e_strftime.
> >
> > Mike
--
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com - www.ximian.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]