diff --git a/src/providers/utils/time.ts b/src/providers/utils/time.ts
index ddc13250c..abd522ce8 100644
--- a/src/providers/utils/time.ts
+++ b/src/providers/utils/time.ts
@@ -242,7 +242,7 @@ export class CoreTimeUtilsProvider {
}
if (fixHour) {
- format = format.replace('%I', 'H');
+ format = format.replace('%I', 'h');
}
// Format could be in PHP format, convert it to moment.