Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use Date to parse due_date for GitlabIssue like GitlabMilestone #355

Merged
merged 2 commits into from
Oct 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/main/java/org/gitlab/api/models/GitlabIssue.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public enum Action {
private Integer downVotes;

@JsonProperty("due_date")
private LocalDate dueDate;
private Date dueDate;

private Boolean confidential;

Expand Down Expand Up @@ -169,11 +169,11 @@ public void setDownVotes(Integer downVotes) {
this.downVotes = downVotes;
}

public LocalDate getDueDate() {
public Date getDueDate() {
return dueDate;
}

public void setDueDate(LocalDate dueDate) {
public void setDueDate(Date dueDate) {
this.dueDate = dueDate;
}

Expand Down