Ticket #551: vehicle_wince.diff

File vehicle_wince.diff, 640 bytes (added by mvglasow, 12 years ago)

vehicle_wince.c diff

  • navit/vehicle/wince/vehicle_wince.c

     
    633633        case attr_position_time_iso8601:
    634634                if (!priv->fixyear || !priv->fixtime[0])
    635635                        return 0;
    636                 sprintf(priv->fixiso8601, "%04d-%02d-%02dT%sZ",
     636                sprintf(priv->fixiso8601, "%04d-%02d-%02dT%.2s:%.2s:%sZ",
    637637                        priv->fixyear, priv->fixmonth, priv->fixday,
    638                         priv->fixtime);
     638                                                priv->fixtime, (priv->fixtime+2), (priv->fixtime+4));
    639639                attr->u.str=priv->fixiso8601;
    640640                break;
    641641        case attr_active: