MCPcopy Create free account
hub / github.com/GrapesJS/react / getDateString

Function getDateString

packages/grapesjs-react-app-19/src/examples/common.ts:28–30  ·  view source on GitHub ↗
(date?: Date)

Source from the content-addressed store, hash-verified

26}
27
28export const getDateString = (date?: Date) => {
29 return date?.toISOString().replace(/Z|T/gi, ' ');
30};
31
32export const plugins: EditorProps['plugins'] = [
33 {

Callers 1

AppFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected