Re: Why not using strftime?



2009/12/11 Claude Paroz <claude 2xlibre net>:
> As I didn't find any bug tracker now, I'm reporting this here. I wonder
> why you're using a complicated machinery with
> gcm_utils_format_date_time/gcm_utils_month_to_localized_text instead of
> simply using strftime call in gcm-profile.c

Originally because we got some complicated date structure to decode,
now we're using lcms we just get a nice sane tm struct. I've fixed
things up in the following commit:

commit 6607487433a1bf074638d6833bd7c493ef1d75ff
Author: Richard Hughes <richard hughsie com>
Date:   Sat Dec 12 09:19:57 2009 +0000

    Use strftime rather than our own hand-rolled function

:100644 100644 a6abf96... 0abfb35... M  src/gcm-profile.c
:100644 100644 203466c... 76e5b24... M  src/gcm-utils.c
:100644 100644 bc3ad9d... a570d6b... M  src/gcm-utils.h

Thanks

Richard.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]