Skip to content
Permalink
Browse files

No ticket: fix build date formatting

  • Loading branch information...
gibson042 committed Apr 1, 2013
1 parent 332a490 commit 5b59a63b2b9247b326c654ca941a1dfe77914024
Showing with 1 addition and 7 deletions.
  1. +1 −7 Gruntfile.js
@@ -387,14 +387,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

0 comments on commit 5b59a63

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