[Digital Clock] Allow copying current date to clipboard

Authored by broulik on Apr 7 2016, 6:54 PM.


Group Reviewers
Plasma: Design

It allows copying the current date and/or time in various formats.
Due to QLocale's limitations the other calendar systems are not supported and we get this ugly "CEST" thing appended.

BUG: 355190
FIXED-IN: 5.7.0

Test Plan

Because how dare we break some KDE 3.5 user's workflows.

Is there a way to force DataSource to update or get the uncached current value? The seconds in the menu are always 00 because the DataSource is aligned to minutes

Diff Detail

R120 Plasma Workspace
Lint Skipped
Unit Tests Skipped
broulik updated this revision to Diff 3201.Apr 7 2016, 6:54 PM
broulik retitled this revision from to [Digital Clock] Allow copying current date to clipboard.
broulik updated this object.
broulik edited the test plan for this revision. (Show Details)
broulik added reviewers: Plasma, Plasma: Design.
broulik set the repository for this revision to R120 Plasma Workspace.
broulik added a project: Plasma.
Restricted Application added a subscriber: plasma-devel. ยท View Herald TranscriptApr 7 2016, 6:54 PM
colomar added a subscriber: colomar.Apr 7 2016, 7:10 PM

I'd change the label to "Copy date/time to clipboard", otherwise it looks good!

davidedmundson accepted this revision.Apr 12 2016, 11:46 PM
davidedmundson added a reviewer: davidedmundson.
This revision is now accepted and ready to land.Apr 12 2016, 11:46 PM

Is there a way to force an update of the DataSource data? Since it's 1min aligned the seconds in the menu will always be 0 (or 1 or 59) and I don't see a (public) method to force an update.

broulik abandoned this revision.Jun 12 2017, 8:41 AM