Skip to content

Date Format Inconsistency Between Cube API and UI #10012

@Zawar92

Description

@Zawar92

Problem

Issue: Date Format Inconsistency Between Cube API and UI
When I query Cube using month granularity for dates, I’m seeing different formats between the API response and the Cube UI:
• In Cube UI: Dates are displayed in a user-friendly format like “2025 Jun”
• In API Response: The same dates appear as ISO timestamps like

{"date": “2025-06-01T00:00:00.000",
       "date.month": "2025-06-01T00:00:00.000"}

I’m looking for a simple parameter I can include in my API requests that would return the date in the same format as shown in the Cube UI (“2025 Jun”), without having to:

  1. Create custom dimensions in my data model
  2. Write post-processing code in my application
    Is there any built-in query parameter or configuration option that would make the API return dates in the same human-readable format that the Cube UI uses?

Is this solution even possible, or is there a workaround for it? Any suggestions would be helpful.

Metadata

Metadata

Assignees

Labels

questionThe issue is a question. Please use Stack Overflow for questions.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions