Skip to content
Browse files

Display the date in a nicer format.

  • Loading branch information...
1 parent dba9d9e commit 96c8298ab6dea6e4f7fe2660b3a7df776d32b525 @buckett buckett committed
View
2 content-cleanup-impl/src/main/java/uk/ac/ox/oucs/vle/content/CleanupDeletedContent.java
@@ -65,7 +65,7 @@ public void execute(JobExecutionContext context)
Time oldest = ts.newTime(System.currentTimeMillis()
- (daysToKeep * 1000 * 60 * 60 * 24));
log.info("Looking at " + deleted.size()
- + " resources, and removing anything older than: " + oldest);
+ + " resources, and removing anything older than: " + oldest.toStringLocalDate());
int removed = 0, attempted = 0;
long totalSize = 0, removedSize = 0;
for (ContentResource resource : deleted) {

0 comments on commit 96c8298

Please sign in to comment.
Something went wrong with that request. Please try again.