[ Index ]
 

Code source de WebCalendar 1.0.5

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables | Statistiques

title

Body

[fermer]

/ -> install-datebook.patch (source)

   1  --- install-datebook.c.orig    Wed Jan 13 23:29:31 1999
   2  +++ install-datebook.c    Thu Jun 22 12:47:10 2000
   3  @@ -129,7 +129,7 @@
   4       } else {
   5         appointment.event = 0;
   6       }
   7  -    if (fields[0][0] == '\0') {
   8  +    if (fields[0][0] != '\0') {
   9         time_t t;
  10         appointment.event = 0;
  11         t = parsedate(fields[0]);
  12  @@ -139,7 +139,7 @@
  13         }
  14         appointment.begin = *localtime(&t);
  15       }
  16  -    if (fields[1][0] == '\0') {
  17  +    if (fields[1][0] != '\0') {
  18         time_t t;
  19         t = parsedate(fields[1]);
  20         if (t == -1) {
  21  @@ -177,6 +177,9 @@
  22       Appointment_size = pack_Appointment(&appointment, Appointment_buf,
  23                           sizeof(Appointment_buf));
  24       printf("desc: %s\n", appointment.description); 
  25  +        printf("date: %d/%d/%d %d:%02d\n", appointment.begin.tm_mon + 1,
  26  +          appointment.begin.tm_mday, appointment.begin.tm_year + 1900,
  27  +          appointment.begin.tm_hour, appointment.begin.tm_min );
  28       dlp_WriteRecord(sd, db, 0, 0, 0, Appointment_buf, Appointment_size, 0);
  29       fields[fieldno++] = cPtr;
  30         } else {


Généré le : Fri Nov 30 19:09:19 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics