Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed WDT MODSERIAL BME280
Diff: NMEA/NMEA.cpp
- Branch:
- MbedBMAGThrRev
- Revision:
- 60:f7c351583a2f
- Parent:
- 58:6545ef27c228
diff -r 48484125b507 -r f7c351583a2f NMEA/NMEA.cpp
--- a/NMEA/NMEA.cpp Wed Jun 26 08:14:40 2019 +0000
+++ b/NMEA/NMEA.cpp Mon Jul 01 12:32:05 2019 +0000
@@ -227,7 +227,7 @@
struct tm t = { .tm_year=y, .tm_mon=m-1, .tm_mday=d };
t.tm_mday += 1024*7; //rollover compentation
mktime(&t);
- strftime (tmpdate,20,"%G/%m/%e",&t);
+ strftime (tmpdate,20,"%G/%m/%d",&t);
for (int i=0; i<20; i++) currentDATEFromGPRMC[i]=tmpdate[i];
}
};