chore(codestyle): cleanup and reformat
This commit is contained in:
@@ -3,5 +3,7 @@ import moment from "moment";
|
||||
const isoDateToMoment = (isoDate: moment.MomentInput) =>
|
||||
moment(isoDate, "YYYY-MM-DD");
|
||||
|
||||
export const formatRelease = (isoDate: moment.MomentInput, format: string = "MMMM YYYY") =>
|
||||
isoDateToMoment(isoDate).format(format);
|
||||
export const formatRelease = (
|
||||
isoDate: moment.MomentInput,
|
||||
format: string = "MMMM YYYY"
|
||||
) => isoDateToMoment(isoDate).format(format);
|
||||
|
||||
Reference in New Issue
Block a user