go/cmd/php
Snider 282be9c7bc feat(i18n): add localized time formatting helpers
- Add TimeAgo(t time.Time) for relative time strings
- Add FormatAgo(count, unit) for "N units ago" composition
- Add i18n.ago namespace pattern: T("i18n.ago", 5, "minute")
- Uses existing time.ago.{unit} keys with CLDR pluralization
- Remove local formatTimeAgo from cmd/php in favor of i18n.TimeAgo

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:44:42 +00:00
..
commands.go refactor(cmd): migrate CLI from clir to cobra 2026-01-30 00:47:54 +00:00
php.go refactor(cli): move cmd/shared to pkg/cli with runtime 2026-01-30 10:32:05 +00:00
php_build.go refactor(i18n): consolidate 85 keys into reusable templates 2026-01-30 11:44:45 +00:00
php_deploy.go feat(i18n): add localized time formatting helpers 2026-01-30 14:44:42 +00:00
php_dev.go refactor(i18n): consolidate 85 keys into reusable templates 2026-01-30 11:44:45 +00:00
php_packages.go refactor(i18n): consolidate 85 keys into reusable templates 2026-01-30 11:44:45 +00:00
php_quality.go refactor(i18n): consolidate 85 keys into reusable templates 2026-01-30 11:44:45 +00:00