deno.land / std@0.177.1 / datetime / mod.ts

نووسراو ببینە
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
/** * Utilities for dealing with {@linkcode Date} objects. * * The following symbols from * [unicode LDML](http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table) * are supported: * * - `yyyy` - numeric year. * - `yy` - 2-digit year. * - `M` - numeric month. * - `MM` - 2-digit month. * - `d` - numeric day. * - `dd` - 2-digit day. * * - `H` - numeric hour (0-23 hours). * - `HH` - 2-digit hour (00-23 hours). * - `h` - numeric hour (1-12 hours). * - `hh` - 2-digit hour (01-12 hours). * - `m` - numeric minute. * - `mm` - 2-digit minute. * - `s` - numeric second. * - `ss` - 2-digit second. * - `S` - 1-digit fractionalSecond. * - `SS` - 2-digit fractionalSecond. * - `SSS` - 3-digit fractionalSecond. * * - `a` - dayPeriod, either `AM` or `PM`. * * - `'foo'` - quoted literal. * - `./-` - unquoted literal. * * This module is browser compatible. * * @module */
export * from "./constants.ts";export * from "./day_of_year.ts";export * from "./difference.ts";export * from "./format.ts";export * from "./is_leap.ts";export * from "./parse.ts";export * from "./to_imf.ts";export * from "./week_of_year.ts";
std

Version Info

Tagged at
10 months ago