diff --git a/source/de/anomic/data/bookmarksDB.java b/source/de/anomic/data/bookmarksDB.java index 5850e320d..624c37f5e 100644 --- a/source/de/anomic/data/bookmarksDB.java +++ b/source/de/anomic/data/bookmarksDB.java @@ -690,12 +690,12 @@ public class bookmarksDB { public void rebuildDates(){ serverLog.logInfo("BOOKMARKS", "rebuilding dates.db from bookmarks.db..."); final Iterator it=bookmarkIterator(true); - Bookmark bookmark; + Bookmark bookmark; String date; bookmarksDate bmDate; while(it.hasNext()){ bookmark=it.next(); - date = (new SimpleDateFormat("yyyy-MM-dd")).format(new Date(bookmark.getTimeStamp())); + date = String.valueOf(bookmark.getTimeStamp()); bmDate=getDate(date); if(bmDate==null){ bmDate=new bookmarksDate(date);