From 55bfcc6d47853efd39294385066dc61500752e89 Mon Sep 17 00:00:00 2001 From: Daniel Naber Date: Sat, 1 Jan 2005 23:13:00 +0000 Subject: [PATCH] reduce date resolution from seconds to minutes, this should be enough for most cases git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150727 13f79535-47bb-0310-9956-ffa450edef68 --- src/demo/org/apache/lucene/demo/HTMLDocument.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demo/org/apache/lucene/demo/HTMLDocument.java b/src/demo/org/apache/lucene/demo/HTMLDocument.java index 7e9145bd5fc..38fc50586f7 100644 --- a/src/demo/org/apache/lucene/demo/HTMLDocument.java +++ b/src/demo/org/apache/lucene/demo/HTMLDocument.java @@ -32,7 +32,7 @@ public class HTMLDocument { // separate the path from the date. return f.getPath().replace(dirSep, '\u0000') + "\u0000" + - DateTools.timeToString(f.lastModified(), DateTools.Resolution.SECOND); + DateTools.timeToString(f.lastModified(), DateTools.Resolution.MINUTE); } public static String uid2url(String uid) {