()
| 69 | |
| 70 | |
| 71 | var currentDate = function() { |
| 72 | var now = new Date(); |
| 73 | var pad = function(i) { |
| 74 | return ('0' + i).substr(-2); |
| 75 | }; |
| 76 | |
| 77 | return util.format('%d-%s-%s', now.getFullYear(), pad(now.getMonth() + 1), pad(now.getDate())); |
| 78 | }; |
| 79 | |
| 80 | |
| 81 | var printSection = function(stream, title, section, printCommitLinks) { |