From d71a6be12084d7ad8ce49c6bf10797f8a5e9af7d Mon Sep 17 00:00:00 2001 From: ztimson Date: Mon, 2 Feb 2026 09:30:48 -0500 Subject: [PATCH] Fixed timezones with date time tool --- package.json | 2 +- src/tools.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e05141d..65a6e33 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ztimson/ai-utils", - "version": "0.4.0", + "version": "0.4.1", "description": "AI Utility library", "author": "Zak Timson", "license": "MIT", diff --git a/src/tools.ts b/src/tools.ts index 153fd91..42eee4c 100644 --- a/src/tools.ts +++ b/src/tools.ts @@ -44,9 +44,9 @@ export const CliTool: AiTool = { export const DateTimeTool: AiTool = { name: 'get_datetime', - description: 'Get current date and time', + description: 'Get current UTC date / time', args: {}, - fn: async () => new Date().toISOString() + fn: async () => new Date().toUTCString() } export const ExecTool: AiTool = {