mirror of https://github.com/usememos/memos
fix(web): update time locale when language is changed
Pass i18n.language to time display components to ensure locale updates when the user switches languages in UserMenu. Changes: - MemoView: Pass i18n.language to toLocaleString() and <relative-time> lang attribute - MonthNavigator: Wrap with observer to make component reactive to i18n.language changes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>pull/5280/head
parent
ef6456a4f5
commit
8ec4c9ab63
Loading…
Reference in New Issue