mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
improved performance on calendar view
This commit is contained in:
@@ -91,3 +91,8 @@ export const dateToMarkdownString = (date: Date) => {
|
||||
|
||||
return `${stringMonth}/${stringDay}/${stringYear} ${stringHours}:${stringMinutes}:${stringSeconds}`;
|
||||
};
|
||||
|
||||
|
||||
export const getDateOnlyMarkdownString = (date: Date) => {
|
||||
return dateToMarkdownString(date).split(" ")[0]
|
||||
}
|
||||
Reference in New Issue
Block a user