Added jobs available screens for new and supplement jobs.
This commit is contained in:
10
client/src/utils/DateFormatter.jsx
Normal file
10
client/src/utils/DateFormatter.jsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import React from "react";
|
||||
import Moment from "react-moment";
|
||||
|
||||
export function DateFormatter(props) {
|
||||
return <Moment format="MM/DD/YYYY">{props.children || ""}</Moment>;
|
||||
}
|
||||
|
||||
export function DateTimeFormatter(props) {
|
||||
return <Moment format="MM/DD/YYYY @ HH:MM">{props.children || ""}</Moment>;
|
||||
}
|
||||
Reference in New Issue
Block a user