Revision aa9feeee snf-cyclades-app/synnefo/ui/static/snf/js/utils.js
b/snf-cyclades-app/synnefo/ui/static/snf/js/utils.js | ||
---|---|---|
143 | 143 |
|
144 | 144 |
synnefo.util.formatDate = function(d) { |
145 | 145 |
var dt = synnefo.util.FormatDigits(d.getDate()) + '/'; |
146 |
dt += synnefo.util.FormatDigits(d.getMonth(), 2); |
|
146 |
dt += synnefo.util.FormatDigits(d.getMonth() + 1, 2);
|
|
147 | 147 |
dt += '/' + d.getFullYear(); |
148 | 148 |
dt += ' ' + synnefo.util.FormatDigits(d.getHours(), 2) + ':'; |
149 | 149 |
dt += synnefo.util.FormatDigits(d.getMinutes(), 2) + ':'; |
Also available in: Unified diff