Skip to main content
Glama

MCP Time Server Node

by pshempel
debug-timezone-holiday.js585 B
const { parseISO, eachDayOfInterval } = require('date-fns'); console.log('=== Timezone Holiday Test Debug ===\n'); // Test dates const start = parseISO('2025-01-01T00:00:00'); const end = parseISO('2025-01-02T00:00:00'); console.log('Start date:', start.toString()); console.log('End date:', end.toString()); const days = eachDayOfInterval({ start, end }); console.log('\nDays in interval:'); days.forEach((day) => { console.log('-', day.toString()); }); console.log(`\nTotal days: ${days.length}`); console.log('\nNote: eachDayOfInterval is inclusive of start and end dates');

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pshempel/mcp-time-server-node'

If you have feedback or need assistance with the MCP directory API, please join our Discord server