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:
@@ -7,7 +7,6 @@ import gq.kirmanak.mealient.database.recipe.entity.RecipeInstructionEntity
|
||||
import gq.kirmanak.mealient.database.recipe.entity.RecipeSummaryEntity
|
||||
import gq.kirmanak.mealient.database.recipe.entity.RecipeWithSummaryAndIngredientsAndInstructions
|
||||
import kotlinx.datetime.LocalDate
|
||||
import kotlinx.datetime.LocalDateTime
|
||||
|
||||
val CAKE_RECIPE_SUMMARY_ENTITY = RecipeSummaryEntity(
|
||||
remoteId = "1",
|
||||
@@ -15,7 +14,6 @@ val CAKE_RECIPE_SUMMARY_ENTITY = RecipeSummaryEntity(
|
||||
slug = "cake",
|
||||
description = "A tasty cake",
|
||||
dateAdded = LocalDate.parse("2021-11-13"),
|
||||
dateUpdated = LocalDateTime.parse("2021-11-13T15:30:13"),
|
||||
imageId = "1",
|
||||
isFavorite = false,
|
||||
)
|
||||
@@ -26,7 +24,6 @@ val PORRIDGE_RECIPE_SUMMARY_ENTITY = RecipeSummaryEntity(
|
||||
slug = "porridge",
|
||||
description = "A tasty porridge",
|
||||
dateAdded = LocalDate.parse("2021-11-12"),
|
||||
dateUpdated = LocalDateTime.parse("2021-10-13T17:35:23"),
|
||||
imageId = "2",
|
||||
isFavorite = false,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user