Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeFeedName ¶
NormalizeFeedName converts a feed title to a URL-safe normalized name Converts to lowercase, replaces spaces with '-', and special chars with '_'
func ParseDayUTC ¶
ParseDayUTC parses a single-day selector into a [start, end) window covering that whole day in UTC (midnight to midnight). Accepts "YYYY-MM-DD", "today", or "yesterday". For the "today"/"yesterday" shortcuts the calendar date is taken from local time, while the returned window is still UTC.
func ParseTimeString ¶
ParseTimeString parses a user-friendly time string into a time.Time Supported formats:
- "now" - current time
- RFC3339: "2006-01-02T15:04:05Z07:00"
- Date: "2006-01-02"
- Relative: "7d", "2h", "30m" or "-7d", "-2h", "-30m" (days, hours, minutes ago)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.