Sha256: 2e6e87c4a648f1355aeddf278b35bdfe7066c710562d3418595ad48ebb45246f
Contents?: true
Size: 317 Bytes
Versions: 147
Compression:
Stored size: 317 Bytes
Contents
// Formats date and time as "01 January 2000 17:00" Date.prototype.toFormattedString = function(include_time) { str = Date.padded2(this.getDate()) + " " + Date.months[this.getMonth()] + " " + this.getFullYear(); if (include_time) { str += " " + this.getHours() + ":" + this.getPaddedMinutes() } return str; }
Version data entries
147 entries across 112 versions & 23 rubygems