What is right date-time format ofr work-log

Hi,

What to do:

Failed to create worklog: There was an error invoking the function - Jira API error 400: {“errorMessages”:“errors”:{“started”:"Invalid date format. Please enter the date in the format \"yyyy-MM-dd’T’HH… (truncated)

// Combine date and time into proper format for Jira
      const dateTime = new Date(`${newWorklogForm.date}T${newWorklogForm.time}:00`);
      // Format as Jira expects: yyyy-MM-ddTHH:mm:ss (local time, no timezone)
      const year = dateTime.getFullYear();
      const month = String(dateTime.getMonth() + 1).padStart(2, '0');
      const day = String(dateTime.getDate()).padStart(2, '0');
      const hours = String(dateTime.getHours()).padStart(2, '0');
      const minutes = String(dateTime.getMinutes()).padStart(2, '0');
      const seconds = String(dateTime.getSeconds()).padStart(2, '0');
      const startedISO = `${year}-${month}-${day}T${hours}:${minutes}:${seconds}`;

I typically use UTC or Zulu: yyyy-MM-dd’T’HH:mm:ss.SSSZ