lart [EMAIL PROTECTED]
thanks

Doh!  Obviously that should read %02i, not %2i.

--- src/main.c. 2005-06-22 11:54:42.000000000 -0500
+++ src/main.c  2005-07-05 21:14:26.000000000 -0500
@@ -102,7 +102,7 @@
 
        printf("Station       : %s\n", metar.station);
        printf("Day           : %i\n", metar.day);
-       printf("Time          : %i UTC\n", metar.time);
+       printf("Time          : %i:%02i UTC\n", metar.time/100, metar.time%100);
        if (metar.winddir == -1) {
                printf("Wind direction: Variable\n");
        } else {

Attachment: signature.asc
Description: Digital signature

Reply via email to