Skip to content

Fix #786 by adding timezone_utils. Also bumps mcp to 1.4.1 #859

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mor10
Copy link

@mor10 mor10 commented Mar 14, 2025

Description

Fixes problem with Daylight Savings Time (EDT, PDT, etc) outlined in #786 by adding timezone_utils.py with a comprehensive list of timezone-to-locale conversions and a utility function.

Server Details

  • Server: time
  • Changes to: tools

Motivation and Context

See #786

How Has This Been Tested?

Tested with Claude in the following scenarios:

  • Passes with EDT
  • Passes with PDT
  • Passes with UCT

Breaking Changes

None I'm aware of

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Protocol Documentation
  • My changes follows MCP security best practices
  • I have updated the server's README accordingly
  • I have tested this with an LLM client
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have documented all environment variables and configuration options

Additional context

Timezone list and comments generated by Claude.

@olaservo olaservo added server-time Reference implementation for the Time MCP server - src/time bug Something isn't working labels Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working server-time Reference implementation for the Time MCP server - src/time
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants