Commit 0724de2b authored by Nitin Jadhav's avatar Nitin Jadhav
Browse files

job list dates fix

parent 5be5dbbd
Pipeline #193936 passed with stages
in 3 minutes and 47 seconds
export function formatISODate(isoInputDate, intlDateFormatType = "long") {
const intl = new Intl.DateTimeFormat(undefined, {
const intl = new Intl.DateTimeFormat("en-GB", {
dateStyle: intlDateFormatType,
});
return intl.format(new Date(isoInputDate));
......
......@@ -184,7 +184,6 @@ function jobContainsSearchTerm(job, searchTerm) {
);
}
function highlightTerm(jobs, searchTerm) {
debugger;
const termRegEx = new RegExp(searchTerm, "ig");
jobs.forEach((job) => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment