Skip to content

Fixing getMinutesUntilExpired error#2251

Open
mohph197 wants to merge 2 commits intotymondesigns:2.xfrom
mohph197:2.x
Open

Fixing getMinutesUntilExpired error#2251
mohph197 wants to merge 2 commits intotymondesigns:2.xfrom
mohph197:2.x

Conversation

@mohph197
Copy link
Copy Markdown

The difference in minutes should be calculated with abs(), since diffInMinutes does: $now - $this (resulting in a negative value)

Fixes #2250

* the difference in minutes should be calculated with abs(), since diffInMinutes does: now - this
(resulting in a negative value)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong remaining minutes when blacklisting a token

1 participant