arika0093/blazorlocaltime/blazor-local-time
Claude Code and agent skill by arika0093/blazorlocaltime
- community
Checking that the SKILL.md file is still in the repository.
Use BlazorLocalTime whenever a Blazor application displays, edits, converts, or otherwise handles a user-facing date or time.
Install
npx vskill@latest install arika0093/blazorlocaltime/blazor-local-timeSKILL.md
BlazorLocalTime
Required rule
For every user-facing date or time, use BlazorLocalTime. Do not render an instant with DateTime.ToString() or DateTime.Now, and do not convert browser-local form input with DateTime.ToUniversalTime(); both use the server timezone.
Keep persisted and transmitted instants in UTC. Prefer DateTimeOffset where possible.
Components
- Display a value with
LocalTimeText. - Render a custom local-time view with
LocalTime. SpecifyOnLoadingorOnErrorwhen needed. - Edit a date or time with
LocalTimeForm; bind inputs to its supplied context. It converts the local browser input back to UTC. - Render the current browser timezone with
LocalTimeZone. - Use
ILocalTimeServiceonly for non-component conversion. CheckIsTimeZoneInfoAvailablebefore converting. If no library component is rendered, place<BlazorLocalTimeProvider />in a root component.
For example, to display a value in local time:
Details
Read the usage guide and API reference for parameters, loading states, service events, timezone overrides, and testing.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/blazor-local-time/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/arika0093/blazorlocaltime/blazor-local-time)