mirror of https://github.com/apache/lucene.git
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:
parent
707c77e91a
commit
55bfcc6d47
|
@ -32,7 +32,7 @@ public class HTMLDocument {
|
||||||
// separate the path from the date.
|
// separate the path from the date.
|
||||||
return f.getPath().replace(dirSep, '\u0000') +
|
return f.getPath().replace(dirSep, '\u0000') +
|
||||||
"\u0000" +
|
"\u0000" +
|
||||||
DateTools.timeToString(f.lastModified(), DateTools.Resolution.SECOND);
|
DateTools.timeToString(f.lastModified(), DateTools.Resolution.MINUTE);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String uid2url(String uid) {
|
public static String uid2url(String uid) {
|
||||||
|
|
Loading…
Reference in New Issue