canonical / craft-application

The basis for *craft applications
https://canonical-craft-application.readthedocs-hosted.com/en/latest
GNU Lesser General Public License v3.0
5 stars 8 forks source link

fix(launchpad): use timezone-aware expiry time #234

Closed lengau closed 4 months ago

lengau commented 4 months ago

Launchpad doesn't error out if you try to create a token that expired in the past. Using non-timezone-aware datetime object in a timezone behind UTC can cause this.