Remove seconds from time in the widget

Remove seconds from time in the widget

  

Hi everyone!


I need to remove the seconds from the widget in the form that support the time variable. Is that possible?

In this moment that appears like 12:32:45 and I just need to see 12:32. (And insert just the hour and minutes).

It's that easy?


Best regards,

Ricardo


Hi Ricardo,

You just need to use the DateFormat. For example "%Y-%m-%d %H:%M" 

Regards,

Marcelo


Hi Marcelo,


But where I put that condition?


Thanks!


Best regards,

Ricardo

Hi,

Check if this helps.

Regards,

Marcelo