[PR #117] [CLOSED] Correct year calculation in time.js #125

Closed
opened 2026-05-07 00:19:02 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/glenndehaan/unifi-voucher-site/pull/117
Author: @struppthat
Created: 1/12/2026
Status: Closed

Base: masterHead: patch-1


📝 Commits (1)

  • 66a26e8 Correct year calculation in time.js

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 utils/time.js (+6 -0)

📄 Description

Fix the logic to return years correctly based on days.

completely fucked up my last pull request, sorry for the spam


🔄 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/glenndehaan/unifi-voucher-site/pull/117 **Author:** [@struppthat](https://github.com/struppthat) **Created:** 1/12/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`66a26e8`](https://github.com/glenndehaan/unifi-voucher-site/commit/66a26e840a7fa6e1eaef00fedcaaca1562b297cf) Correct year calculation in time.js ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `utils/time.js` (+6 -0) </details> ### 📄 Description Fix the logic to return years correctly based on days. completely fucked up my last pull request, sorry for the spam --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:19:02 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/unifi-voucher-site#125
No description provided.