From 2e8ae301c55c6abd33f7c3dd413c75964240c939 Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Sun, 13 Dec 2015 22:23:40 +0100 Subject: [PATCH] Remove stamp. --- ghu.js | 4 +--- package.json | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ghu.js b/ghu.js index 742f9ee4..d92aa134 100644 --- a/ghu.js +++ b/ghu.js @@ -1,5 +1,4 @@ const {resolve, join} = require('path'); -const dateformat = require('dateformat'); const { default: ghu, autoprefixer, cssmin, ife, includeit, jade, jszip, @@ -24,8 +23,7 @@ ghu.before(runtime => { if (hashes.length) { const counter = ('000' + hashes.length).substr(-3); const hash = hashes[0].substr(0, 7); - const stamp = dateformat(Date.now(), 'yyyy-mm-dd-HH-MM-ss'); - runtime.pkg.version += `+${counter}~${hash}~${stamp}`; + runtime.pkg.version += `+${counter}~${hash}`; } } diff --git a/package.json b/package.json index 189755d0..87ac06a3 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ "babel-core": "6.3.17", "babel-eslint": "5.0.0-beta6", "babel-preset-es2015": "6.3.13", - "dateformat": "1.0.12", "eslint": "1.10.3", "ghu": "0.2.2" },