Blame view

天文台pc/tianwentai-ui/node_modules/date-fns/locale/nb.mjs 904 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  import { formatDistance } from "./nb/_lib/formatDistance.mjs";
  import { formatLong } from "./nb/_lib/formatLong.mjs";
  import { formatRelative } from "./nb/_lib/formatRelative.mjs";
  import { localize } from "./nb/_lib/localize.mjs";
  import { match } from "./nb/_lib/match.mjs";
  
  /**
   * @category Locales
   * @summary Norwegian Bokmål locale.
   * @language Norwegian Bokmål
   * @iso-639-2 nob
   * @author Hans-Kristian Koren [@Hanse](https://github.com/Hanse)
   * @author Mikolaj Grzyb [@mikolajgrzyb](https://github.com/mikolajgrzyb)
   * @author Dag Stuan [@dagstuan](https://github.com/dagstuan)
   */
  export const nb = {
    code: "nb",
    formatDistance: formatDistance,
    formatLong: formatLong,
    formatRelative: formatRelative,
    localize: localize,
    match: match,
    options: {
      weekStartsOn: 1 /* Monday */,
      firstWeekContainsDate: 4,
    },
  };
  
  // Fallback for modularized imports:
  export default nb;