Skip to content

Commit 394d528

Browse files
Change Grunt date to pull static date and now new date every time
1 parent cab61f4 commit 394d528

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Gruntfile.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ module.exports = function(grunt) {
77
// Metadata.
88
pkg: grunt.file.readJSON('jquery-ui-timepicker-addon.json'),
99
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
10-
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
10+
//'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
11+
'<%= pkg.modified %>\n' +
1112
'<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' +
1213
'* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
1314
' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */\n',
@@ -70,7 +71,7 @@ module.exports = function(grunt) {
7071
options: {
7172
variables: {
7273
version: '<%= pkg.version %>',
73-
timestamp: '<%= grunt.template.today("yyyy-mm-dd") %>'
74+
timestamp: '<%= pkg.modified %>'
7475
},
7576
prefix: '@@'
7677
},

jquery-ui-timepicker-addon.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"title": "jQuery Timepicker Addon",
44
"description": "A timepicker addon for jQueryUI datepicker.",
55
"version": "1.4.2",
6+
"modified": "2013-11-18",
67
"homepage": "http://trentrichardson.com/examples/timepicker",
78
"author": {
89
"name": "Trent Richardson",

0 commit comments

Comments
 (0)