Skip to content

Commit

Permalink
pnfsmanager: Use ISO8601 compatible date for metadataof output
Browse files Browse the repository at this point in the history
metadataof now includes the year in dates.

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6379/
  • Loading branch information
gbehrmann committed Jan 6, 2014
1 parent 91a2ed3 commit f151dab
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -544,7 +544,7 @@ public void getInfo( PrintWriter pw ){
.getFileAttributes(ROOT, pnfsId, EnumSet.of(OWNER, OWNER_GROUP, MODE, TYPE,
CREATION_TIME, ACCESS_TIME, MODIFICATION_TIME));

SimpleDateFormat formatter = new SimpleDateFormat("MM.dd-HH:mm:ss");
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssXXX");
StringBuilder info = new StringBuilder();
switch (fileAttributes.getFileType()) {
case DIR:
Expand Down

0 comments on commit f151dab

Please sign in to comment.