From 7d838e4e07dcf57e2619f068dcd7b909a39882ca Mon Sep 17 00:00:00 2001 From: Selim Mustafaev Date: Thu, 24 Dec 2020 21:49:37 +0300 Subject: [PATCH] Fixed error with broken date sections --- AutoCat.xcodeproj/project.pbxproj | 4 ++-- AutoCat/Models/Vehicle.swift | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AutoCat.xcodeproj/project.pbxproj b/AutoCat.xcodeproj/project.pbxproj index 1c4894c..c0e444a 100644 --- a/AutoCat.xcodeproj/project.pbxproj +++ b/AutoCat.xcodeproj/project.pbxproj @@ -831,7 +831,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 59; + CURRENT_PROJECT_VERSION = 61; DEVELOPMENT_TEAM = 46DTTB8X4S; INFOPLIST_FILE = AutoCat/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 13.0; @@ -854,7 +854,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 59; + CURRENT_PROJECT_VERSION = 61; DEVELOPMENT_TEAM = 46DTTB8X4S; INFOPLIST_FILE = AutoCat/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 13.0; diff --git a/AutoCat/Models/Vehicle.swift b/AutoCat/Models/Vehicle.swift index 9e1b17a..669115f 100644 --- a/AutoCat/Models/Vehicle.swift +++ b/AutoCat/Models/Vehicle.swift @@ -329,6 +329,7 @@ class Vehicle: Object, Decodable, Identifiable, Differentiable, Cloneable { self.isJapanese = copy.isJapanese self.addedDate = copy.addedDate self.addedBy = copy.addedBy + self.updatedDate = copy.updatedDate let photos = List() photos.append(objectsIn: copy.photos.map { $0.clone() })