Skip to content

A full-featured download manager.

Decapitalise 'h' for hms consistancy

Kieran Mesquitabf691460350d
diff --git a/src/shared/locales/en-US/app.js b/src/shared/locales/en-US/app.js
index 92dda410..14b09e36 100644
--- a/src/shared/locales/en-US/app.js
+++ b/src/shared/locales/en-US/app.js
@@ -14,7 +14,7 @@ export default {
'cancel': 'Cancel',
'submit': 'Submit',
'gt1d': '> 1 day',
- 'hour': 'H',
+ 'hour': 'h',
'minute': 'm',
'second': 's'
}
diff --git a/src/shared/utils.js b/src/shared/utils.js
index a26f1aba..86ba2157 100644
--- a/src/shared/utils.js
+++ b/src/shared/utils.js
@@ -42,7 +42,7 @@ export function timeRemaining (totalLength, completedLength, downloadSpeed) {
* @param {object} i18n
* i18n: {
* gt1d: 'More than one day',
- * hour: 'H',
+ * hour: 'h',
* minute: 'm',
* second: 's'
* }
@@ -54,7 +54,7 @@ export function timeFormat (seconds, { prefix = '', suffix = '', i18n }) {
let secs = seconds || 0
const i = {
gt1d: '> 1 day',
- hour: 'H',
+ hour: 'h',
minute: 'm',
second: 's',
...i18n