Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/inventory.picotech.app/public_html/node_modules/date-fns/min/ drwxr-xr-x |
Viewing file: Select action/file-type: var parse = require('../parse/index.js') /** * @category Common Helpers * @summary Return the earliest of the given dates. * * @description * Return the earliest of the given dates. * * @param {...(Date|String|Number)} dates - the dates to compare * @returns {Date} the earliest of the dates * * @example * // Which of these dates is the earliest? * var result = min( * new Date(1989, 6, 10), * new Date(1987, 1, 11), * new Date(1995, 6, 2), * new Date(1990, 0, 1) * ) * //=> Wed Feb 11 1987 00:00:00 */ function min () { var dirtyDates = Array.prototype.slice.call(arguments) var dates = dirtyDates.map(function (dirtyDate) { return parse(dirtyDate) }) var earliestTimestamp = Math.min.apply(null, dates) return new Date(earliestTimestamp) } module.exports = min |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0048 ]-- |