File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Modules/Sources/Yosemite/Tools/POS Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -104,12 +104,13 @@ public actor POSCatalogSyncCoordinator: POSCatalogSyncCoordinatorProtocol {
104104
105105 public func performSmartSync( for siteID: Int64 , fullSyncMaxAge: TimeInterval ) async throws {
106106 let lastFullSync = await lastFullSyncDate ( for: siteID) ?? Date ( timeIntervalSince1970: 0 )
107+ let lastFullSyncUTC = ISO8601DateFormatter ( ) . string ( from: lastFullSync)
107108
108109 if Date ( ) . timeIntervalSince ( lastFullSync) >= fullSyncMaxAge {
109- DDLogInfo ( " 🔄 POSCatalogSyncCoordinator: Performing full sync for site \( siteID) (last full sync: \( lastFullSync ) ) " )
110+ DDLogInfo ( " 🔄 POSCatalogSyncCoordinator: Performing full sync for site \( siteID) (last full sync: \( lastFullSyncUTC ) UTC )" )
110111 try await performFullSync ( for: siteID)
111112 } else {
112- DDLogInfo ( " 🔄 POSCatalogSyncCoordinator: Performing incremental sync for site \( siteID) (last full sync: \( lastFullSync ) ) " )
113+ DDLogInfo ( " 🔄 POSCatalogSyncCoordinator: Performing incremental sync for site \( siteID) (last full sync: \( lastFullSyncUTC ) UTC )" )
113114 try await performIncrementalSync ( for: siteID)
114115 }
115116 }
You can’t perform that action at this time.
0 commit comments