Commit Graph

12 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
68fbd87e94 Resolve merge conflicts by accepting main branch changes
Co-authored-by: olaservo <16480113+olaservo@users.noreply.github.com>
2026-01-17 18:08:53 +00:00
copilot-swe-agent[bot]
dd9c5e59e0 Merge origin/main to resolve dependency conflicts 2026-01-17 18:07:40 +00:00
Koichi ITO
9c9813d9dc fix(time): Fix McpError constructor usage in time server
Fixes CI failures in PR #3220.

PR #3220 updated `mcp` library from 1.0.0 to 1.23.0, which caused test
failures due to a breaking change in `McpError` constructor API.

The `McpError` constructor now expects an `ErrorData` object instead of
a plain string message. This commit fixes the usage in `get_zoneinfo()`
function to use `ErrorData(code=INVALID_PARAMS, message=...)`.

```console
Error before fix:
  AttributeError: 'str' object has no attribute 'message'
```

Also updates `mcp` dependency to >=1.23.0 in pyproject.toml to ensure
compatibility with the new API.
2026-01-17 23:12:04 +09:00
Frederick Ros
cd88954e18 fix: resolve ZoneInfo error by using IANA-compliant local timezone
Replaced local timezone detection using tzinfo string (e.g. "CEST")
with tzlocal.get_localzone_name() to ensure a valid IANA time zone
(e.g. "Europe/Paris") is passed to ZoneInfo. This avoids runtime
errors on macOS and other systems that return non-IANA tz abbreviations.
2025-05-13 18:53:03 +02:00
David Soria Parra
e7e1c85058 python servers 0.6.2 2024-12-04 15:57:31 +00:00
David Soria Parra
2578d6f668 python servers 0.6.1 2024-11-29 18:00:23 +00:00
David Soria Parra
f86486984c python servers 0.6.0 2024-11-29 17:54:40 +00:00
David Soria Parra
bccd33f7a1 fix time server 2024-11-29 11:29:23 +00:00
Mariusz Korzekwa
d37ce3cc51 Fix uv lock for time-server, update Readme 2024-11-28 22:18:40 +01:00
Mariusz Korzekwa
740b744ea8 Clean time server implementation 2024-11-28 22:12:09 +01:00
Mariusz Korzekwa
122ca1aaa5 Update pyproject of time server, remove time server temporary files 2024-11-28 22:12:09 +01:00
Mariusz Korzekwa
b7ca691573 Add initial time server 2024-11-28 22:12:09 +01:00