Sha256: 10b69f5c4715b977d7ba6cad2a71dcba05fb97237947bab8b5e4ab4085106520
Contents?: true
Size: 264 Bytes
Versions: 69
Compression:
Stored size: 264 Bytes
Contents
/** * gets date quarter */ function quarter(date){ var month = date.getMonth(); if (month < 3) return 1; if (month < 6) return 2; if (month < 9) return 3; return 4; } module.exports = quarter;
Version data entries
69 entries across 69 versions & 2 rubygems