Sha256: abce6b4a79cadd47d7c0ac5c4ddfeb6a8ce8aad5834bb4ab67d7580aa52dbe6d
Contents?: true
Size: 596 Bytes
Versions: 1
Compression:
Stored size: 596 Bytes
Contents
aggregate_hour: "function(doc) { d = new Date(doc.date* 1000); return {date: Date.parse((d.getMonth() + 1) + '/' + d.getDate() + '/' + d.getFullYear() + ' ' + d.getHours() + ':00:00') / 1000}; }" aggregate_day: "function(doc) { d = new Date(doc.date* 1000); return {date: Date.parse((d.getMonth() + 1) + '/' + d.getDate() + '/' + d.getFullYear()) / 1000}; }" aggregate_month: "function(doc) { d = new Date(doc.date* 1000); return {date: Date.parse((d.getMonth() + 1) + '/1/' + d.getFullYear()) / 1000}; }"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gatoroid-0.1.0 | lib/gator/javascript/functions.yml |