Skip to content

Your credentials are still valid for  #74

@1Mark

Description

@1Mark

At on 2022-05-11 at 16:43 GMT+1 I received

INFO - Your credentials are still valid for 1813.178155 seconds they will expire at 2022-05-11 16:11:37

Which of course makes no sense since Your credentials are still valid contradicts expire at 2022-05-11 16:11:37 where at this point its over 30 mins in the past.

exp = datetime.datetime.strptime(

I'm assuming the issue is that exp is datetime naive and the expiration is returned in UTC. Which is used to calculate the seconds left correctly but forgets to use the client's timezone before logging.

I cannot explain why this:

  • this is the first time it has happened
  • a bug like this to already be open

especially since my timezone didn't change recently

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions