c51d756503
- Fix TypeError "e.match is not a function" when creating events - Update useLocalizedDate hook to handle both string and object date formats - Add type safety for date format configuration - Fix date format strings to use correct date-fns format (lowercase) - Ensure backward compatibility with existing date settings The issue was caused by SettingsPage saving date formats as objects while useLocalizedDate expected strings. This fix handles both formats gracefully and prevents the error page redirect. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>