diff --git a/src/framework/theme/components/timepicker/timepicker.directive.ts b/src/framework/theme/components/timepicker/timepicker.directive.ts index 60534d82b9..299e6a92a8 100644 --- a/src/framework/theme/components/timepicker/timepicker.directive.ts +++ b/src/framework/theme/components/timepicker/timepicker.directive.ts @@ -116,6 +116,25 @@ import { NB_DOCUMENT } from '../../theme.options'; * * * + * You can provide localized versions of the timepicker text via the `localization` property of the config + * object passed to the `forRoot` or `forChild` methods of the `NbTimepickerModule`: + * ```ts + * @NgModule({ + * imports: [ + * // ... + * NbTimepickerModule.forRoot({ + * localization: { + * hoursText: 'Hr', + * minutesText: 'Min', + * secondsText: 'Sec', + * ampmText: 'Am/Pm', + * } + * }), + * ], + * }) + * export class AppModule { } + * ``` + * * @styles * * timepicker-cell-text-color: