MCPcopy Create free account
hub / github.com/ajatkj/scriptable / isSameDay

Function isSameDay

LSWeather.js:1271–1273  ·  view source on GitHub ↗
(d1, d2)

Source from the content-addressed store, hash-verified

1269FUNCTION isSameDay
1270------------------------------------------------------------------*/
1271function isSameDay(d1, d2) {
1272 return d1.getFullYear() === d2.getFullYear() && d1.getDate() === d2.getDate() && d1.getMonth() === d2.getMonth();
1273}
1274/*------------------------------------------------------------------
1275FUNCTION greetingText
1276------------------------------------------------------------------*/

Callers 1

formatEventsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected