Commit c2428ac9 authored by Eugene Shapovalov's avatar Eugene Shapovalov 💬

Fix parsing issue due_date parsing.

parent 54ad0d87
......@@ -10,7 +10,8 @@ data class Milestone(
@SerializedName("description") val description: String?,
@SerializedName("state") val state: String?,
@SerializedName("due_date") val dueDate: String?,
@SerializedName("start_date") val startDate: String?,
@SerializedName("created_at") val createdAt: LocalDateTime?,
@SerializedName("title") val title: String?,
@SerializedName("updated_at") val updatedAt: String?
@SerializedName("updated_at") val updatedAt: LocalDateTime?
)
......@@ -20,7 +20,7 @@ data class Issue(
@SerializedName("created_at") val createdAt: LocalDateTime,
@SerializedName("labels") val labels: List<String>,
@SerializedName("user_notes_count") val userNotesCount: Int,
@SerializedName("due_date") val dueDate: LocalDateTime?,
@SerializedName("due_date") val dueDate: String?,
@SerializedName("web_url") val webUrl: String?,
@SerializedName("confidential") val confidential: Boolean,
@SerializedName("upvotes") val upvotes: Int,
......
......@@ -8,7 +8,6 @@ import org.threeten.bp.ZonedDateTime
import java.lang.reflect.Type
import java.util.*
/**
* Created by Konstantin Tskhovrebov (aka @terrakok) on 27.02.18.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment