Re: [evolution-patches] Fix for #56320 and related timezone issues



> +char *
> +e_gw_connection_format_date_string (const char *dtstring)
> +{
> +        char *str2;
> +        int i, j, len = strlen (dtstring);
> +	
> +        str2 = g_malloc0 (len);
> +        for (i = 0,j = 0; i < len; i++) {
> +                if ((dtstring[i] != '-') && (dtstring[i] != ':')) {
> +			str2[j] = dtstring[i];
> +			j++;
> +                }
> +        }
> +
> +	str2[j] = '\0';
> +        return str2;

nitpick: indent






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