diff options
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index c6b739d17..0925f67d0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -393,14 +393,8 @@ module.exports = function( grunt ) { // Embed Date compiled = compiled.replace( /@VERSION/g, version ) .replace( "@DATE", function () { - var date = new Date(); - // YYYY-MM-DD - return [ - date.getFullYear(), - date.getMonth() + 1, - date.getDate() - ].join( "-" ); + return ( new Date() ).toISOString().replace( /T.*/, "" ); }); // Write concatenated source to file |