#139 — Cut “zero” time information from timestamp columns
Repo: Twill-AI/twill-llm-engine State: closed | Status: done Assignee: meliascosta
Created: 2024-09-24 · Updated: 2024-11-06
Description
Caused by https://twill-network.slack.com/archives/C06UCQP1BFC/p1727087760427069
If open https://ca-staging-twill-facade-eastus.happystone-888ee9bf.eastus.azurecontainerapps.io/api/v1/llmchats/56/items?limit=10&include_sources=false&include_widgets=true for user@twillpayments.com (in https://ca-staging-twill-facade-eastus.happystone-888ee9bf.eastus.azurecontainerapps.io/docs#/llmchats/get_llmchat_items_api_v1_llmchats__llmchat_id__items_get) and find 506 item with “type”: “ChatResponseEcharts” then it would show:
\"rows\":[[\"Bar Bingo 08/07, 08/14, 08/21, 08/28\",540,\"2024-09-02 00:00:00\"]
and the same ” 00:00:00” for all dates. In “Table” mode of Echarts component such “zero time” entries would eat space.
AC:
- If string value contains datetime value and all cells don’t have “time” information then cut and provide only “date” part in such strings.
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets