Skip to content

[CAL-3956] GET request from /schedules returns a resource with startTime and endTime not in ISO date string format #10263

@tarpagad

Description

@tarpagad

Found a bug? Please fill out the sections below. 👍

Issue Summary

API call response on https://api.cal.com/v1/schedules returns incomplete availability date information: the startTime and endTime values of each availability object are NOT date ISO string (like everywhere else).

Steps to Reproduce

  1. GET https://api.cal.com/v1/schedules?apiKey=xxx

Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?
The startTime and endTime should be in ISO string format : 2023-02-13T20:00:00.000Z

Actual Results

  • What's happening right now that is different from what is expected
    startTime and endTime values are NOT is ISO string format

Expected Results

  • This is an ideal result that the system should get after the tests are performed
    The startTime and endTime should be in ISO string format : 2023-02-13T20:00:00.000Z

Evidence

image

CAL-3956

Metadata

Metadata

Assignees

No one assigned

    Labels

    Low priorityCreated by Linear-GitHub SyncStaleapiarea: API, enterprise API, access token, OAuthcommunityCreated by Linear-GitHub Sync⚡ Quick WinsA collection of quick wins/quick fixes that are less than 30 minutes of work🧹 ImprovementsImprovements to existing features. Mostly UX/UI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions