mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
503 B
34 lines
503 B
5 years ago
|
## Unicode Technical Report 35
|
||
|
|
||
|
### Subject
|
||
|
|
||
|
Implement a `format` function that takes 2 arguments:
|
||
|
- a valid javascript Date object
|
||
|
- a format string that handle all of the following fields:
|
||
|
- y
|
||
|
- yyyy
|
||
|
- G
|
||
|
- GGGG
|
||
|
- M
|
||
|
- MM
|
||
|
- MMM
|
||
|
- MMMM
|
||
|
- d
|
||
|
- dd
|
||
|
- E
|
||
|
- EEEE
|
||
|
- h
|
||
|
- hh
|
||
|
- m
|
||
|
- mm
|
||
|
- s
|
||
|
- ss
|
||
|
- H
|
||
|
- HH
|
||
|
- a
|
||
|
|
||
|
|
||
|
### Notions
|
||
|
|
||
5 years ago
|
- [www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table)
|