MOBILE-2754 core: Fix 24 hour format used when it shouldn't
parent
138221e136
commit
0475b77dcc
|
@ -242,7 +242,7 @@ export class CoreTimeUtilsProvider {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fixHour) {
|
if (fixHour) {
|
||||||
format = format.replace('%I', 'H');
|
format = format.replace('%I', 'h');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Format could be in PHP format, convert it to moment.
|
// Format could be in PHP format, convert it to moment.
|
||||||
|
|
Loading…
Reference in New Issue