Re: [evolution-patches] Fix for #56320 and related timezone issues
- From: Jerome Lacoste <jerome coffeebreaks org>
- To: kharish novell com
- Cc: evolution-patches lists ximian com
- Subject: Re: [evolution-patches] Fix for #56320 and related timezone issues
- Date: Tue, 18 May 2004 12:09:56 -0400
> +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]