diff --git a/sap-alm-dp-api-datasource/src/DataSource.ts b/sap-alm-dp-api-datasource/src/DataSource.ts index 07fc484..37f8a0a 100644 --- a/sap-alm-dp-api-datasource/src/DataSource.ts +++ b/sap-alm-dp-api-datasource/src/DataSource.ts @@ -271,6 +271,8 @@ export class DataSource extends DataSourceApi { translateToPeriodUnit(unit: string): string { if (unit) { switch (unit) { + case 'h': + return 'H'; case 'd': return 'D'; case 'w': @@ -280,7 +282,7 @@ export class DataSource extends DataSourceApi { case 'y': return 'Y'; default: - return 'H'; + return 'Mi'; } } return '';