Fixed error with broken date sections

This commit is contained in:
Selim Mustafaev 2020-12-24 21:49:37 +03:00
parent 53a1b96774
commit 7d838e4e07
2 changed files with 3 additions and 2 deletions

View File

@ -831,7 +831,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements; CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 59; CURRENT_PROJECT_VERSION = 61;
DEVELOPMENT_TEAM = 46DTTB8X4S; DEVELOPMENT_TEAM = 46DTTB8X4S;
INFOPLIST_FILE = AutoCat/Info.plist; INFOPLIST_FILE = AutoCat/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0; IPHONEOS_DEPLOYMENT_TARGET = 13.0;
@ -854,7 +854,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements; CODE_SIGN_ENTITLEMENTS = AutoCat/AutoCat.entitlements;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 59; CURRENT_PROJECT_VERSION = 61;
DEVELOPMENT_TEAM = 46DTTB8X4S; DEVELOPMENT_TEAM = 46DTTB8X4S;
INFOPLIST_FILE = AutoCat/Info.plist; INFOPLIST_FILE = AutoCat/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0; IPHONEOS_DEPLOYMENT_TARGET = 13.0;

View File

@ -329,6 +329,7 @@ class Vehicle: Object, Decodable, Identifiable, Differentiable, Cloneable {
self.isJapanese = copy.isJapanese self.isJapanese = copy.isJapanese
self.addedDate = copy.addedDate self.addedDate = copy.addedDate
self.addedBy = copy.addedBy self.addedBy = copy.addedBy
self.updatedDate = copy.updatedDate
let photos = List<VehiclePhoto>() let photos = List<VehiclePhoto>()
photos.append(objectsIn: copy.photos.map { $0.clone() }) photos.append(objectsIn: copy.photos.map { $0.clone() })