djangosaml2idp icon indicating copy to clipboard operation
djangosaml2idp copied to clipboard

Timezone information is stripped from metadata validity timestamp

Open nmeheus opened this issue 10 months ago • 0 comments

Within the ServiceProvider model, the timezone information is stripped from the metadata_expiration_dt field on multiple occasions. This causes errors when comparing to timezone aware datetimes. Ideally the meta attribute is used as is, given that it should be using a timezone aware datetime format.

nmeheus avatar Aug 11 '23 10:08 nmeheus