diff --git a/src/fr/devinsy/statoolinfos/crawl/Crawler.java b/src/fr/devinsy/statoolinfos/crawl/Crawler.java index 4259797..0152dca 100644 --- a/src/fr/devinsy/statoolinfos/crawl/Crawler.java +++ b/src/fr/devinsy/statoolinfos/crawl/Crawler.java @@ -180,7 +180,7 @@ public class Crawler // Build crawl data. PathProperties crawlSection = new PathPropertyList(); crawlSection.put("crawl.crawler", "StatoolInfos"); - crawlSection.put("crawl.datetime", LocalDateTime.now().format(DateTimeFormatter.ofPattern("YYYY-MM-dd'T'HH:mm:ss"))); + crawlSection.put("crawl.datetime", LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss"))); crawlSection.put("crawl.url", url.toString()); crawlSection.put("crawl.file.size", FileUtils.sizeOf(downloadFile)); crawlSection.put("crawl.file.datetime", StatoolInfosUtils.urlLastModified(url).toString());