[kronolith] kronolith: two post-install snags
cjdl01
cjdl01 at brokensolstice.com
Sat Sep 29 19:55:14 UTC 2012
>>>
>>> Well, then there is probably something wrong with your PHP. This
>>> is the PHP equivalent of the C script:
>>>
>>> $t = time();
>>>
>>> $locale = setlocale(LC_TIME, "C");
>>> $fmt_C = nl_langinfo(T_FMT);
>>> $result = strftime($fmt_C, $t);
>>> printf("%s\n%s\n%s\n", $locale, $fmt_C, $result);
>>>
>>> $locale = setlocale(LC_TIME, "en_US.UTF-8");
>>> $fmt_US = nl_langinfo(T_FMT);
>>> $result = strftime($fmt_US, $t);
>>> printf("%s\n%s\n%s\n", $locale, $fmt_US, $result);
>>>
>>> The output should be the same.
>>> --
>>> Jan Schneider
>>
>>
>> Hi Jan. Here is the output from the php script:
>>
>> C
>> %H:%M:%S
>> 11:14:23
>> en_US.UTF-8
>> %r
>> 11:14:23 AM
>
> I should probably add that it yields this output both on the command
> line and within the Horde context (using the php shell included in
> horde).
>
> Thanks!
>
> -Chris
Hi Jan,
Since there doesn't seem to be an issue with my c library or my php,
should I file a bug for this? Or is there something else we can do?
Thanks.
-Chris
More information about the kronolith
mailing list