Merge remote-tracking branch 'remote/master'

This commit is contained in:
Mark van der Wal 2023-11-02 12:00:12 +01:00
commit 788c071739

View File

@ -23,7 +23,7 @@ namespace FarmmapsApi.Services
public async Task<Item> CreateCropfieldItemAsync(string parentItemCode, string name, int year,
string fieldGeomJson, string data = "{}") {
var currentYear = new DateTime(year, 1, 1);
var currentYear = new DateTime(year, 1, 1, 0, 0, 0, DateTimeKind.Utc);
var cropfieldItemRequest = new ItemRequest() {
ParentCode = parentItemCode,
ItemType = CROPFIELD_ITEMTYPE,