|
|
@ -199,6 +199,7 @@ class TimezoneCellView: NSTableCellView { |
|
|
|
|
|
|
|
|
|
|
|
override func mouseDown(with _: NSEvent) { |
|
|
|
override func mouseDown(with _: NSEvent) { |
|
|
|
// Text is copied in the following format: Chicago - 1625185925 |
|
|
|
// Text is copied in the following format: Chicago - 1625185925 |
|
|
|
|
|
|
|
// TODO: Write tests for copy functionality |
|
|
|
let clipboardCopy = "\(customName.stringValue) - \(time.stringValue)" |
|
|
|
let clipboardCopy = "\(customName.stringValue) - \(time.stringValue)" |
|
|
|
let pasteboard = NSPasteboard.general |
|
|
|
let pasteboard = NSPasteboard.general |
|
|
|
pasteboard.declareTypes([.string], owner: nil) |
|
|
|
pasteboard.declareTypes([.string], owner: nil) |
|
|
|