carloea2 opened a new pull request, #8110: URL: https://github.com/apache/texera/pull/8110
### What changes were proposed in this PR? Relative time labels now use singular units when the value is one while preserving plural units for every other value. Before: `1 minutes ago`, `1 hours ago`, `1 days ago`, and `1 weeks ago`. After: `1 minute ago`, `1 hour ago`, `1 day ago`, and `1 week ago`. ### Any related issues, documentation, discussions? Closes #8108 ### How was this PR tested? `yarn test --include src/app/common/util/format.util.spec.ts` `yarn format:ci` Manual: 1. Start Texera locally from this worktree. 2. Set a local workflow creation and edit time to exactly one hour ago. 3. Open Your Work, then Workflows in Chrome. 4. Confirm both labels display `1 hour ago` while older cards retain plural units. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex -- 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]
