Skip to content
Permalink
Browse files

Add release time to header on uncompressed file.

(cherry picked from commit 71f33cc)
  • Loading branch information
dmethvin committed May 11, 2013
1 parent 1debe49 commit 8ee67bde11ef496dcde4ee026e905c52eb7d4782
Showing with 2 additions and 4 deletions.
  1. +2 −4 Gruntfile.js
@@ -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 );

0 comments on commit 8ee67bd

Please sign in to comment.
You can’t perform that action at this time.