Skip to content

fix monday local#584

Merged
dbarzin merged 1 commit intomainfrom
dev
Mar 14, 2026
Merged

fix monday local#584
dbarzin merged 1 commit intomainfrom
dev

Conversation

@dbarzin
Copy link
Copy Markdown
Owner

@dbarzin dbarzin commented Mar 14, 2026

Summary by CodeRabbit

  • New Features
    • Calendar components now respect locale-specific week start settings, automatically displaying the appropriate first day of the week based on user location (Monday for French and German locales, Sunday for others).

@dbarzin dbarzin merged commit 35dc529 into main Mar 14, 2026
1 check was pending
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 14, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: d3816d7b-81e1-466f-bfeb-dda55fab22b0

📥 Commits

Reviewing files that changed from the base of the PR and between 369b18d and 83dc3c7.

📒 Files selected for processing (1)
  • resources/views/layout.blade.php

Cache: Disabled due to data retention organization setting

Knowledge base: Disabled due to data retention organization setting


Walkthrough

A client-side configuration snippet is added to the layout template to set the week start day for Metro UI calendar components. The configuration conditionally sets weekStart to 1 (Monday) for French and German locales, otherwise 0 (Sunday), exposing the settings through global JavaScript objects.

Changes

Cohort / File(s) Summary
Metro UI Calendar Locale Configuration
resources/views/layout.blade.php
Adds 9 lines of JavaScript configuration in the HTML head to initialize Metro UI calendar components with locale-aware week start settings (Monday for fr/de locales, Sunday for others).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A day of the week, we now align,
Monday starts when locales are fine,
Metro calendars shall sing with glee,
French and German, perfectly spree! ✨

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dev
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can scan for known vulnerabilities in your dependencies using OSV Scanner.

OSV Scanner will automatically detect and report security vulnerabilities in your project's dependencies. No additional configuration is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant