~ubuntu-branches/debian/sid/ofono/sid

« back to all changes in this revision

Viewing changes to plugins/example_history.c

  • Committer: Bazaar Package Importer
  • Author(s): Andres Salomon
  • Date: 2009-11-02 18:46:37 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20091102184637-rh8ik6v1lcdgdh10
Tags: 0.9-1
* New upstream release.
* Since it runs w/out it, change the udev Depends to a Recommends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
        else
69
69
                ofono_debug("From: %s", from);
70
70
 
71
 
        strftime(buf, 127, "%a, %d %b %Y %H:%M:%S %z", localtime(&start));
 
71
        strftime(buf, 127, "%Y-%m-%dT%H:%M:%S%z", localtime(&start));
72
72
        buf[127] = '\0';
73
73
        ofono_debug("StartTime: %s", buf);
74
74
 
75
 
        strftime(buf, 127, "%a, %d %b %Y %H:%M:%S %z", localtime(&end));
 
75
        strftime(buf, 127, "%Y-%m-%dT%H:%M:%S%z", localtime(&end));
76
76
        buf[127] = '\0';
77
77
        ofono_debug("EndTime: %s", buf);
78
78
}
96
96
                from = phone_number_to_string(&call->phone_number);
97
97
 
98
98
        ofono_debug("From: %s", from);
99
 
        strftime(buf, 127, "%a, %d %b %Y %H:%M:%S %z", localtime(&when));
 
99
        strftime(buf, 127, "%Y-%m-%dT%H:%M:%S%z", localtime(&when));
100
100
        buf[127] = '\0';
101
101
        ofono_debug("When: %s", buf);
102
102
}