diff --git a/FarmmapsApi/Services/GeneralService.cs b/FarmmapsApi/Services/GeneralService.cs index b3d298b..d644254 100644 --- a/FarmmapsApi/Services/GeneralService.cs +++ b/FarmmapsApi/Services/GeneralService.cs @@ -23,7 +23,7 @@ namespace FarmmapsApi.Services public async Task CreateCropfieldItemAsync(string parentItemCode, string name, int year, string fieldGeomJson, string data = "{}") { - var currentYear = new DateTime(year, 1, 1).ToUniversalTime(); + var currentYear = new DateTime(year, 1, 1, 0, 0, 0, DateTimeKind.Utc); var cropfieldItemRequest = new ItemRequest() { ParentCode = parentItemCode, ItemType = CROPFIELD_ITEMTYPE,