xero-hero
Version:
Heroic utilities to simplify and enable your progress with the [xero-node](https://www.npmjs.com/package/xero-node) SDK.
1 lines • 560 B
Source Map (JSON)
{"version":3,"sources":["../../../src/common/where/generators.ts"],"sourcesContent":["export const dateInWhereFormat = (date: Date): string => {\r\n if (date) {\r\n return `DateTime(${date.getFullYear()}, ${\r\n date.getMonth() + 1\r\n }, ${date.getDate()})`;\r\n }\r\n\r\n throw new Error('You must pass in a valid JavaScript Date object.');\r\n};\r\n"],"mappings":";AAAO,IAAM,oBAAoB,CAAC,SAAuB;AACvD,MAAI,MAAM;AACR,WAAO,YAAY,KAAK,YAAY,CAAC,KACnC,KAAK,SAAS,IAAI,CACpB,KAAK,KAAK,QAAQ,CAAC;AAAA,EACrB;AAEA,QAAM,IAAI,MAAM,kDAAkD;AACpE;","names":[]}