I forgot to say Hello everyone. sorry!
Hi can you show me where it should show the device expiration time ?
When i inser Server -> Attributes -> Device Detail : expirationTime
It doesnt show anything anywhere.
Is this a customization?
Hi Anton, yes. For my personal project. I figured out that I could add expirationTime in the Device System, but I am not sure where I can modify it.
try using this function:
https://github.com/traccar/traccar-web/blob/master/modern/src/common/util/formatter.js#L32
Thank you!
So I added in Server -> Attributes -> Device Detail : "expirationTime" because I wanted that the user can see when the device expires. But it appears like this:
2025-01-25T23:00:00.000+00+00
any idea how can I short it out? only like yyyy-mm-dd format.
Thanks