Is ExpiresAt a Unix timestamp? Would it hurt to add some information to the documentation?
I figured out that this is a Unix timestamp, but the time zone is a little ambiguous. If I look at the expiration time on the admin page, it says 4/3/26 at 11:59:59 PM, but when I convert ExpiredAt to a DateTimeOffset in C#, the expiration is given as 4/4/26 at 4:59:59 AM.
So, I assume that the expiration time shown on the admin page is my local time? This doesn’t make a lot of sense to me, because why would the license expiration time depend on the time zone of the person who added the entitlement? If I set the expiration date of the entitlement (through the admin page), it appears to default to 11:59:59 on that date in my time zone. But I might be creating a license for a customer in Turkey. When my software running in Turkey reads the ExpiresAt value, how should it be interpreted? The software doesn’t know whether I created the entitlement or one of my colleagues in Italy did.
Should I be dealing with ExpiresAt differently?