IO-1663 Add time to production board.

This commit is contained in:
Patrick Fic
2022-06-06 15:43:35 -07:00
parent 78dd14af85
commit ba55717683
3 changed files with 77 additions and 46 deletions

View File

@@ -17,6 +17,11 @@ export function DateTimeFormatter(props) {
)
: null;
}
export function TimeFormatter(props) {
return props.children
? moment(props.children).format(props.format ? props.format : "hh:mm a")
: null;
}
export function TimeAgoFormatter(props) {
const m = moment(props.children);