Skip to content

fix(time): default missing timezones to local timezone#4252

Open
kgarg2468 wants to merge 1 commit into
modelcontextprotocol:mainfrom
kgarg2468:kgarg/time-default-local-timezone
Open

fix(time): default missing timezones to local timezone#4252
kgarg2468 wants to merge 1 commit into
modelcontextprotocol:mainfrom
kgarg2468:kgarg/time-default-local-timezone

Conversation

@kgarg2468
Copy link
Copy Markdown

Summary

  • Let get_current_time use the configured local timezone when timezone is omitted
  • Let convert_time default omitted source/target timezones to the configured local timezone while still requiring time
  • Update tool schemas and tests to match the documented local-timezone behavior

Fixes #2853.

Validation

  • cd src/time && uv run pytest

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.

mcp-server-time: Default Time Zone

1 participant