linuxmint / cinnamon-spices-desklets

Desklets for the Cinnamon desktop
http://cinnamon-spices.linuxmint.com
GNU General Public License v2.0
152 stars 163 forks source link

[Desklet bug] Adding timezone to date in commandResult results in confounding error #1304

Open ienzo opened 3 weeks ago

ienzo commented 3 weeks ago

Desklet version/Build date

Updated on 2024-07-04 00:09:28

Cinnamon version

6.0.4

Distribution

21.3 Virginia

Graphics hardware and driver used

NVIDIA GM108M [GeForce 940MX] and NVIDIA 535.183.01

Desklet name and maintainer

commandResult@ZimiZones @ZimiZones

What happened?

The command date +"%A %B %d, %I:%M %p" works fine on the desklet, but when I try to add a parameter timezone or TZ='America/New_York' date +"%A %B %d, %I:%M %p", it doesn't work at all despite the command working fine on command line. It's a bit frustrating. The error says Timeout or error occurred but no such error is shown if I run the command on terminal (it renders correctly on terminal)

image

image

Other information

Proof the command works fine on terminal:

Screenshot from 2024-10-28 11-05-46