mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
Enhance date handling, error checks, data limits, and rate limiting - Added `using System.Globalization;` to support date and time formatting. - Handled empty/null paste titles with defaults and truncation. - Display paste dates as human-readable time differences. - Changed rate limiting policy to "fixed-bigger". - Improved error handling for `/api/create` endpoint. - Updated `ConvertToBytes` method for clarity. - Added `GetDifference` method for date comparisons. - Enforced length limits on input fields in `index.html`.