Repository navigation
Commit c0be919
fix(time): report an empty convert_time timezone as a missing argument
convert_time passed an empty source_timezone (or target_timezone)
straight to zoneinfo, so the client saw zoneinfo's raw "ZoneInfo keys
must be normalized relative paths" text. get_current_time already
reports an empty timezone as "Missing required argument: timezone";
convert_time now does the same for both of its timezone arguments.
The pinning test asserts the new message for both cases, and its
KNOWN BUG modelcontextprotocol#5003 marker is gone.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: cliffhall <[email protected]>1 parent 571e2b3 commit c0be919
2 files changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
214 | 217 | | |
215 | 218 | | |
216 | 219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
814 | | - | |
815 | 814 | | |
816 | 815 | | |
817 | 816 | | |
| |||
843 | 842 | | |
844 | 843 | | |
845 | 844 | | |
846 | | - | |
847 | | - | |
| 845 | + | |
| 846 | + | |
848 | 847 | | |
849 | 848 | | |
850 | | - | |
851 | | - | |
852 | | - | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
853 | 854 | | |
854 | 855 | | |
855 | 856 | | |
| |||
0 commit comments