Commit 8ee67bde authored by Dave Methvin's avatar Dave Methvin

Add release time to header on uncompressed file.

(cherry picked from commit 71f33cc7)
parent 1debe49a
......@@ -415,10 +415,8 @@ module.exports = function( grunt ) {
// Embed Version
// Embed Date
compiled = compiled.replace( /@VERSION/g, version )
.replace( "@DATE", function () {
// YYYY-MM-DD
return ( new Date() ).toISOString().replace( /T.*/, "" );
});
// yyyy-mm-ddThh:mmZ
.replace( /@DATE/g, ( new Date() ).toISOString().replace( /:\d+\.\d+Z$/, "Z" ) );
// Write concatenated source to file
grunt.file.write( name, compiled );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment