applets/digital-clock: Fix clipboard menu
Original commit message(s)
- applets/digital-clock: Fix cipboard menu
QDateTime objects cannot be easily converted to/from JS date objects.
JS date objects are always relative to the system clock. In the port to libclock things the behaviour of the passed around datetime changed in order to make the JS handling considerably easier and less hacky, unfortunately it broke the menu which made alternative assumptions.
We don't need to pass a date object about, we just need to pass the timezone and can then just query the current time.
As a bonus this also allows us to have the value for seconds available regardless of the Plasmoid setting.