From 1c958562636a6bbfe92060c84ce052ca2d5ceefd Mon Sep 17 00:00:00 2001 From: coolrice5 <320236571+coolrice5@users.noreply.github.com> Date: Sun, 23 Aug 2026 11:51:13 -0400 Subject: [PATCH] docs(time): correct Example Interactions to match server output The example responses in src/time/README.md did not match what the server actually returns: - Both examples omitted `day_of_week`, which `TimeResult` declares and the server always populates via `strftime("%A")`. - The `convert_time` source showed 12:30 although the request asks for 16:30. - The target showed `2024-01-01T12:30:00+09:00`, i.e. the conversion had no effect. New York 16:30 EST is 06:30 the next day in Tokyo. - `time_difference` read `+13.0h`; EST (-5) to JST (+9) is +14.0h. - A trailing comma after `time_difference` made the JSON invalid. Verified against src/time/src/mcp_server_time/server.py. Co-Authored-By: Claude Opus 5 --- src/time/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/time/README.md b/src/time/README.md index 9a2c1c42fd..9c479b1efb 100644 --- a/src/time/README.md +++ b/src/time/README.md @@ -220,6 +220,7 @@ Response: { "timezone": "Europe/Warsaw", "datetime": "2024-01-01T13:00:00+01:00", + "day_of_week": "Monday", "is_dst": false } ``` @@ -240,15 +241,17 @@ Response: { "source": { "timezone": "America/New_York", - "datetime": "2024-01-01T12:30:00-05:00", + "datetime": "2024-01-01T16:30:00-05:00", + "day_of_week": "Monday", "is_dst": false }, "target": { "timezone": "Asia/Tokyo", - "datetime": "2024-01-01T12:30:00+09:00", + "datetime": "2024-01-02T06:30:00+09:00", + "day_of_week": "Tuesday", "is_dst": false }, - "time_difference": "+13.0h", + "time_difference": "+14.0h" } ```