Blame view

天文台pc/tianwentai-ui/node_modules/date-fns/locale/es.mjs 1.01 KB
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
31
32
  import { formatDistance } from "./es/_lib/formatDistance.mjs";
  import { formatLong } from "./es/_lib/formatLong.mjs";
  import { formatRelative } from "./es/_lib/formatRelative.mjs";
  import { localize } from "./es/_lib/localize.mjs";
  import { match } from "./es/_lib/match.mjs";
  
  /**
   * @category Locales
   * @summary Spanish locale.
   * @language Spanish
   * @iso-639-2 spa
   * @author Juan Angosto [@juanangosto](https://github.com/juanangosto)
   * @author Guillermo Grau [@guigrpa](https://github.com/guigrpa)
   * @author Fernando Agüero [@fjaguero](https://github.com/fjaguero)
   * @author Gastón Haro [@harogaston](https://github.com/harogaston)
   * @author Yago Carballo [@YagoCarballo](https://github.com/YagoCarballo)
   */
  export const es = {
    code: "es",
    formatDistance: formatDistance,
    formatLong: formatLong,
    formatRelative: formatRelative,
    localize: localize,
    match: match,
    options: {
      weekStartsOn: 1 /* Monday */,
      firstWeekContainsDate: 1,
    },
  };
  
  // Fallback for modularized imports:
  export default es;