Fix incompatibility with Mealie v1.11.0 (#302)
* Allow dateUpdated field to contain time zone * Remove unused dateUpdated field * Update version code
This commit is contained in:
@@ -13,8 +13,8 @@ plugins {
|
||||
android {
|
||||
defaultConfig {
|
||||
applicationId = "gq.kirmanak.mealient"
|
||||
versionCode = 36
|
||||
versionName = "0.4.7"
|
||||
versionCode = 37
|
||||
versionName = "0.4.8"
|
||||
testInstrumentationRunner = "gq.kirmanak.mealient.MealientTestRunner"
|
||||
testInstrumentationRunnerArguments += mapOf("clearPackageData" to "true")
|
||||
resourceConfigurations += listOf("en", "es", "ru", "fr", "nl", "pt", "de")
|
||||
|
||||
@@ -4,7 +4,6 @@ import gq.kirmanak.mealient.database.recipe.entity.RecipeIngredientEntity
|
||||
import gq.kirmanak.mealient.database.recipe.entity.RecipeInstructionEntity
|
||||
import gq.kirmanak.mealient.database.recipe.entity.RecipeSummaryEntity
|
||||
import kotlinx.datetime.LocalDate
|
||||
import kotlinx.datetime.LocalDateTime
|
||||
|
||||
internal val INGREDIENT_TWO = RecipeIngredientEntity(
|
||||
id = "2",
|
||||
@@ -25,7 +24,6 @@ internal val SUMMARY_ENTITY = RecipeSummaryEntity(
|
||||
slug = "recipe-name",
|
||||
description = "Recipe description",
|
||||
dateAdded = LocalDate(2021, 1, 1),
|
||||
dateUpdated = LocalDateTime(2021, 1, 1, 1, 1, 1),
|
||||
imageId = null,
|
||||
isFavorite = false,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user