Timezone Converter endpoint - Updated ā ļø
I'll probably make a video on this later today. In the meantime, this converts timezones. Updated to specifically expect Assistable JSON payload and pull body.args away from metadata for TimeAPI call. Will add logging at some point. https://buildship.app/remix/9f579164-b994-4857-8865-fb1b0e9e0236 POST /Conversion/ConvertTimeZone { "fromTimeZone": "Europe/Amsterdam", "dateTime": "2024-09-14 17:45:00", "toTimeZone": "America/Los_Angeles", "dstAmbiguity": "" } And returns: { "conversionResult": { "dateTime": "2024-09-14T08:45:00", "dstActive": true, "day": 14, "time": "08:45", "month": 9, "seconds": 0, "year": 2024, "minute": 45, "timeZone": "America/Los_Angeles", "hour": 8, "date": "09/14/2024", "milliSeconds": 0 }, "fromDateTime": "2024-09-14T17:45:00", "fromTimezone": "Europe/Amsterdam", "toTimeZone": "America/Los_Angeles" } https://timeapi.io/swagger/index.html