[PR #147] [CLOSED] Expiration improvements #180

Closed
opened 2026-02-27 10:16:04 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/matze/wastebin/pull/147
Author: @cgzones
Created: 4/1/2025
Status: Closed

Base: masterHead: expire


📝 Commits (1)

📊 Changes

1 file changed (+241 additions, -28 deletions)

View changed files

📝 crates/wastebin_core/src/expiration.rs (+241 -28)

📄 Description

  • Support magnitude suffixes
  • Separate multiple human readable sections with comma
  • Reject expiration sets with duplicate duration values
  • Change month from 28 to 30 days
  • Change year from 336 to 365 days

🔄 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/matze/wastebin/pull/147 **Author:** [@cgzones](https://github.com/cgzones) **Created:** 4/1/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `expire` --- ### 📝 Commits (1) - [`ca2f0aa`](https://github.com/matze/wastebin/commit/ca2f0aa637a5698ee59cfe664aa29f641cdad5ca) Expiration improvements ### 📊 Changes **1 file changed** (+241 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `crates/wastebin_core/src/expiration.rs` (+241 -28) </details> ### 📄 Description * Support magnitude suffixes * Separate multiple human readable sections with comma * Reject expiration sets with duplicate duration values * Change month from 28 to 30 days * Change year from 336 to 365 days --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 10:16:04 +03: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/wastebin-matze#180
No description provided.