0

I have a tile that shows servers in Maintenance Mode.

In the sub-label, I want to add some information about the maintenance window (dates, comments, etc.).

 

The way maintenanceMode.startTime is showing isn’t really readable (for example: 1521138318807) so I am using timeago to show something more meaningful: {{timeago(maintenanceMode.startTime)}}

 

I also want to show the Scheduled End Time. As soon as I add a second timeago, both stop appearing: {{timeago(maintenanceMode.startTime)}}{{timeago(maintenanceMode.scheduledEndTime)}}

 

Is there a way to use timeago more than once in the same label?

 

Also, is there an alternative to timeago to convert the date format?

 

Thanks

Jelly answered