diff options
| author | Teddy Wing | 2014-03-30 18:09:06 -0400 |
|---|---|---|
| committer | Teddy Wing | 2014-03-30 18:09:06 -0400 |
| commit | 2795d431059557d84cd0898b2eb6ab806a895fbf (patch) | |
| tree | e976a77270787b49886ab31fabfa3f2a202c379a | |
| parent | 3910c9f07a529924b3c157894f5d511ea5c6ac0b (diff) | |
| download | chrome-copy-urls-from-all-tabs-2795d431059557d84cd0898b2eb6ab806a895fbf.tar.bz2 | |
Fix minute format of downloaded filename
Add leading zero to minute.
| -rw-r--r-- | chrome-get-urls-from-tabs-in-windows.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome-get-urls-from-tabs-in-windows.js b/chrome-get-urls-from-tabs-in-windows.js index 100c784..7d0faad 100644 --- a/chrome-get-urls-from-tabs-in-windows.js +++ b/chrome-get-urls-from-tabs-in-windows.js @@ -90,7 +90,7 @@ generate_filename = function(callback) { + '-' + ('0' + d.getHours()).slice(-2) + 'h' - + d.getMinutes(); + + ('0' + d.getMinutes()).slice(-2); var file_extension = ''; |
