diff options
author | Marvin Borner | 2018-11-07 22:10:16 +0100 |
---|---|---|
committer | Marvin Borner | 2018-11-07 22:10:17 +0100 |
commit | 954583f3d56fbfb60321725f13ad092e536e3737 (patch) | |
tree | a0505a763797582c61fd8c2f90b422456d8874c9 /node_modules/locutus/php/datetime/gmstrftime.js | |
parent | 1c355e6e956a4e507ed5436d0c814ba9c3a1deb2 (diff) |
Removed node_modules
Diffstat (limited to 'node_modules/locutus/php/datetime/gmstrftime.js')
-rw-r--r-- | node_modules/locutus/php/datetime/gmstrftime.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/node_modules/locutus/php/datetime/gmstrftime.js b/node_modules/locutus/php/datetime/gmstrftime.js deleted file mode 100644 index 7953981..0000000 --- a/node_modules/locutus/php/datetime/gmstrftime.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -module.exports = function gmstrftime(format, timestamp) { - // discuss at: http://locutus.io/php/gmstrftime/ - // original by: Brett Zamir (http://brett-zamir.me) - // input by: Alex - // bugfixed by: Brett Zamir (http://brett-zamir.me) - // example 1: gmstrftime("%A", 1062462400) - // returns 1: 'Tuesday' - - var strftime = require('../datetime/strftime'); - - var _date = typeof timestamp === 'undefined' ? new Date() : timestamp instanceof Date ? new Date(timestamp) : new Date(timestamp * 1000); - - timestamp = Date.parse(_date.toUTCString().slice(0, -4)) / 1000; - - return strftime(format, timestamp); -}; -//# sourceMappingURL=gmstrftime.js.map
\ No newline at end of file |