import Foundation extension CapturaRemoteFile { var name: String { let dateFormatter = DateFormatter() dateFormatter.dateStyle = .medium dateFormatter.timeStyle = .medium dateFormatter.locale = Locale.current if let timestamp { return dateFormatter.string(from: timestamp).replacingOccurrences(of: ":", with: ".") } return "Unknown" } }