Sha256: 355d3eb05cae6a51966d56d70eeebcc61728459f7dc5aab38a455903de632583

Contents?: true

Size: 234 Bytes

Versions: 4

Compression:

Stored size: 234 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).toFixed(0)};
     }"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gatoroid-0.2.17 lib/gator/javascript/functions.yml
gatoroid-0.2.16 lib/gator/javascript/functions.yml
gatoroid-0.2.15 lib/gator/javascript/functions.yml
gatoroid-0.2.14 lib/gator/javascript/functions.yml