📜  ANGULAR locale fr - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:26.530000             🧑  作者: Mango

代码示例1
import { registerLocaleData } from '@angular/common';
import localeFr from '@angular/common/locales/fr';

// the second parameter 'fr' is optional
registerLocaleData(localeFr, 'fr');