[PR #1966] [CLOSED] fix: parse expiresAt to Date before comparing #20996

Closed
opened 2026-04-15 20:03:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1966
Author: @hammeradam
Created: 3/23/2025
Status: Closed

Base: mainHead: fix/active-session-filtering


📝 Commits (1)

  • f2d7c78 fix: parse expiresAt to Date before comparing

📊 Changes

2 files changed (+4 additions, -4 deletions)

View changed files

📝 packages/better-auth/src/api/routes/session.ts (+2 -2)
📝 packages/better-auth/src/plugins/multi-session/index.ts (+2 -2)

📄 Description

Closes #1965


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/1966 **Author:** [@hammeradam](https://github.com/hammeradam) **Created:** 3/23/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/active-session-filtering` --- ### 📝 Commits (1) - [`f2d7c78`](https://github.com/better-auth/better-auth/commit/f2d7c7825c46971b376b582c0ddc0e1a84563ca9) fix: parse expiresAt to Date before comparing ### 📊 Changes **2 files changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/routes/session.ts` (+2 -2) 📝 `packages/better-auth/src/plugins/multi-session/index.ts` (+2 -2) </details> ### 📄 Description Closes #1965 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 20:03:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#20996