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
This commit is contained in:
Daniel Naber 2005-01-01 23:13:00 +00:00
parent 707c77e91a
commit 55bfcc6d47
1 changed files with 1 additions and 1 deletions

View File

@ -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) {