Sha256: 9fa0903c27aca5319318acb683650ba7bc8623759f85ce9b6c673b0f6858f797
Contents?: true
Size: 379 Bytes
Versions: 9
Compression:
Stored size: 379 Bytes
Contents
export function valueOf () { return +this._d - ((this._offset || 0) * 60000); } export function unix () { return Math.floor(+this / 1000); } export function toDate () { return this._offset ? new Date(+this) : this._d; } export function toArray () { var m = this; return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()]; }
Version data entries
9 entries across 9 versions & 3 rubygems