Fix modified time of gpx file (was 0)

This commit is contained in:
madwasp79 2019-03-01 12:29:33 +02:00
parent d62ba1b075
commit e39b0ed58b

View file

@ -1592,6 +1592,10 @@ public class GPXUtilities {
fis = new FileInputStream(f);
GPXFile file = loadGPXFile(fis);
file.path = f.getAbsolutePath();
if(file.modifiedTime == 0) {
file.modifiedTime = f.lastModified();
}
try {
fis.close();
} catch (IOException e) {