Changeset 5763 for wire/trunk

Show
Ignore:
Timestamp:
08/21/08 16:54:56 (3 months ago)
Author:
morris
Message:

iso8601 -> rfc3339

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wire/trunk/wire/client.c

    r5602 r5763  
    526526        wr_server->name = wi_retain(WI_ARRAY(arguments, 2)); 
    527527        wr_server->description = wi_retain(WI_ARRAY(arguments, 3)); 
    528         wr_server->startdate = wi_date_init_with_iso8601_string(wi_date_alloc(), WI_ARRAY(arguments, 4)); 
     528        wr_server->startdate = wi_date_init_with_rfc3339_string(wi_date_alloc(), WI_ARRAY(arguments, 4)); 
    529529        wr_server->files = wi_string_uint32(WI_ARRAY(arguments, 5)); 
    530530        wr_server->size = wi_string_uint64(WI_ARRAY(arguments, 6)); 
     
    790790        wr_printf_block(WI_STR("Cipher:      %@/%@ bits"), WI_ARRAY(arguments, 9), WI_ARRAY(arguments, 10)); 
    791791 
    792         date = wi_date_with_iso8601_string(WI_ARRAY(arguments, 11)); 
     792        date = wi_date_with_rfc3339_string(WI_ARRAY(arguments, 11)); 
    793793        interval = wi_time_interval_string(wi_date_time_interval_since_now(date)); 
    794794    string = wi_date_string_with_format(date, WI_STR("%a %b %e %T %Y")); 
    795795        wr_printf_block(WI_STR("Login Time:  %@, since %@"), interval, string); 
    796796 
    797         date = wi_date_with_iso8601_string(WI_ARRAY(arguments, 12)); 
     797        date = wi_date_with_rfc3339_string(WI_ARRAY(arguments, 12)); 
    798798        interval = wi_time_interval_string(wi_date_time_interval_since_now(date)); 
    799799    string = wi_date_string_with_format(date, WI_STR("%a %b %e %T %Y")); 
     
    897897                        wr_news_count = -1; 
    898898                } else { 
    899                         date = wi_date_with_iso8601_string(WI_ARRAY(arguments, 1)); 
     899                        date = wi_date_with_rfc3339_string(WI_ARRAY(arguments, 1)); 
    900900                        string = wi_date_string_with_format(date, WI_STR("%a %b %e %T %Y")); 
    901901 
     
    10141014                         
    10151015                        wi_release(window->topic.date); 
    1016                         date = wi_date_with_iso8601_string(WI_ARRAY(arguments, 4)); 
     1016                        date = wi_date_with_rfc3339_string(WI_ARRAY(arguments, 4)); 
    10171017                        window->topic.date = wi_retain(wi_date_string_with_format(date, WI_STR("%a %b %e %T %Y"))); 
    10181018 
     
    11021102                wr_printf_block(WI_STR("Size:      %@"), string); 
    11031103 
    1104                 date = wi_date_with_iso8601_string(WI_ARRAY(arguments, 3)); 
     1104                date = wi_date_with_rfc3339_string(WI_ARRAY(arguments, 3)); 
    11051105                string = wi_date_string_with_format(date, WI_STR("%a %b %e %T %Y")); 
    11061106                wr_printf_block(WI_STR("Created:   %@"), string); 
    11071107 
    1108                 date = wi_date_with_iso8601_string(WI_ARRAY(arguments, 4)); 
     1108                date = wi_date_with_rfc3339_string(WI_ARRAY(arguments, 4)); 
    11091109                string = wi_date_string_with_format(date, WI_STR("%a %b %e %T %Y")); 
    11101110                wr_printf_block(WI_STR("Modified:  %@"), string);