carloea2 opened a new issue, #8108:
URL: https://github.com/apache/texera/issues/8108

   ### What happened?
   
   The relative time formatter always appends a plural unit, including when the 
value is one.
   
   Before: a workflow created one hour ago displays `1 hours ago`.
   Expected: it displays `1 hour ago`.
   
   The same problem affects one minute, one day, and one week.
   
   ### How to reproduce?
   
   1. Start Texera locally from main.
   2. Create a workflow or set a local workflow timestamp to exactly one hour 
ago.
   3. Open Your Work, then Workflows.
   4. Read the Created and Edited labels on the workflow card.
   
   ### Version or Branch
   
   1.3.0-incubating-SNAPSHOT on main
   
   ### Commit Hash
   
   04b213d9aa0d7310cfecefaab50cc4f9323e3e58
   
   ### Browsers
   
   Chrome
   
   ### Relevant log output
   
   None.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to