mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
59fe4caa4dce6674b830d90f534288b686c39f0d
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`.
Languages
C#
49.5%
Svelte
35.3%
TypeScript
13.3%
HTML
1.1%
CSS
0.3%
Other
0.5%