chore(i8n,learn): processed translations

This commit is contained in:
Crowdin Bot
2021-02-06 04:42:36 +00:00
committed by Mrugesh Mohapatra
parent 15047f2d90
commit e5c44a3ae5
3274 changed files with 172122 additions and 14164 deletions

View File

@ -1,44 +1,43 @@
---
id: 59669d08d75b60482359409f
title: 日期格式
title: Date format
challengeType: 5
videoUrl: ''
forumTopicId: 302243
dashedName: date-format
---
# --description--
任务:
Return an array with the current date in the formats:
返回包含以下格式的当前日期的数组:
<ul>
<li>2007-11-23</li>
<li>Friday, November 23, 2007</li>
</ul>
\- 2007-11-23和
\- 2007年11月23日星期日
示例输出: `['2007-11-23', 'Sunday, November 23, 2007']`
Example output: `['2007-11-23', 'Friday, November 23, 2007']`
# --hints--
`getDateFormats`是一个函数。
`getDateFormats` should be a function.
```js
assert(typeof getDateFormats === 'function');
```
应该返回一个对象。
`getDateFormats` should return an object.
```js
assert(typeof getDateFormats() === 'object');
```
应该返回一个包含2个元素的数组。
`getDateFormats` should return an array with 2 elements.
```js
assert(getDateFormats().length === 2);
```
应以正​​确的格式返回正确的日期
`getDateFormats` should return the correct date in the right format
```js
assert.deepEqual(getDateFormats(), dates, equalsMessage);