Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Display the date in a nicer format.

  • Loading branch information...
commit 96c8298ab6dea6e4f7fe2660b3a7df776d32b525 1 parent dba9d9e
@buckett buckett authored
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) {
Please sign in to comment.
Something went wrong with that request. Please try again.