Skip to content

Commit

Permalink
#1 fix date in thumbnail list
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-conway committed Feb 16, 2021
1 parent d7da95c commit 6022ce1
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package org.irods.jargon.extensions.thumbnail;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

public class ThumbnailListEntry {
Expand All @@ -11,9 +8,9 @@ public class ThumbnailListEntry {
private int id = 0;
@JsonProperty("name")
private String name = "";
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
// @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
@JsonProperty("lastModified")
private Date lastModified;
private String lastModified;
@JsonProperty("thumbnails")
private String thumbnails = "";

Expand All @@ -33,11 +30,11 @@ public void setName(String name) {
this.name = name;
}

public Date getLastModified() {
public String getLastModified() {
return lastModified;
}

public void setLastModified(Date lastModified) {
public void setLastModified(String lastModified) {
this.lastModified = lastModified;
}

Expand Down

0 comments on commit 6022ce1

Please sign in to comment.