>> See a change in get_datetime() to handle invalid date formats and in
>> __get_pkgstr_from_pkginfo() setting date string to "" if you fail to
>> grab it. Under what circumstances can this happen?
>>
> Hi John,
> When you will switch your locale to for example to de_DE.UTF-8
>
> the fmri.packaging_date is returning the date in C locale, so it will 
> fail to convert the date. Ideally would be to have fmri.packaging_date 
> in some unformatted way so we want hit this problem or 
> fmri.packaging_date returning date in the current locale.
>
> This is rather workaround then proper fix, but at this stage doesn't 
> introduce to much risk. When this fails in the confirmation dialog 
> instead of packages info containg build time will not contain this 
> time, which is small issue. If this fix is not there the evaluation 
> will print stack to the terminal and will stop, so the app is no 
> longer usable.
Ok - but can you log a bug to track this issue going forward - need 
fmri.packaging_date to be returned as unformatted string so it can be 
converted into appropriate locale for display.

JR
>
> best
> Michal

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to