-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The 'Created time' in the instructions pages is off.
Steps to reproduce the behavior:
- Go to 'Knowledge - Instructions'
- Click on 'Add an instruction' and add one.
- The Created time shows '1768-02-29' or something that is clearly off.
The createdat field in the network is a string format of int

Desktop (please complete the following information):
- OS: mac os
- Browser: chrome
Wren UI
- Version: 0.31.2
Root Cause
- In the frontend code (wren-ui/src/utils/time.ts), time formatting utilities like
getCompactTimecalldayJs(time)directly. - When called with a numeric string (e.g., "1764725636199"),
dayjsparses it as a date string rather than a millisecond timestamp, resulting in a completely wrong historical date. - This affects all usages across the frontend that pass API response timestamps directly into these utilities without normalization.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working