diff options
author | Trent Richardson <trentdrichardson@gmail.com> | 2013-11-18 13:25:50 -0500 |
---|---|---|
committer | Trent Richardson <trentdrichardson@gmail.com> | 2013-11-18 13:25:50 -0500 |
commit | 394d5282a9ac923aab2b98114c290f3a5fba9fbf (patch) | |
tree | 2e2820c8c749fc37a51fb389c8c82ba9002048bb /Gruntfile.js | |
parent | cab61f4708a4b365b1e4a80a00fbc49efbf0c2c3 (diff) | |
download | jQuery-Timepicker-Addon-394d5282a9ac923aab2b98114c290f3a5fba9fbf.zip jQuery-Timepicker-Addon-394d5282a9ac923aab2b98114c290f3a5fba9fbf.tar.gz jQuery-Timepicker-Addon-394d5282a9ac923aab2b98114c290f3a5fba9fbf.tar.bz2 |
Change Grunt date to pull static date and now new date every time
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 75d9770..9b69bf7 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -7,7 +7,8 @@ module.exports = function(grunt) { // Metadata. pkg: grunt.file.readJSON('jquery-ui-timepicker-addon.json'), banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' + - '<%= grunt.template.today("yyyy-mm-dd") %>\n' + + //'<%= grunt.template.today("yyyy-mm-dd") %>\n' + + '<%= pkg.modified %>\n' + '<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' + '* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' + ' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */\n', @@ -70,7 +71,7 @@ module.exports = function(grunt) { options: { variables: { version: '<%= pkg.version %>', - timestamp: '<%= grunt.template.today("yyyy-mm-dd") %>' + timestamp: '<%= pkg.modified %>' }, prefix: '@@' }, |