---
title: Date format
id: 59669d08d75b60482359409f
challengeType: 5
videoUrl: ''
localeTitle: ''
---

## Description
undefined

## Instructions
undefined

## Tests
<section id='tests'>

```yml
tests:
  - text: ''
    testString: 'assert(typeof getDateFormats === "function", "<code>getDateFormats</code> is a function.");'
  - text: ''
    testString: 'assert(typeof getDateFormats() === "object", "Should return an object.");'
  - text: ''
    testString: 'assert(getDateFormats().length === 2, "Should returned an array with 2 elements.");'
  - text: ''
    testString: 'assert.deepEqual(getDateFormats(), dates, equalsMessage);'

```

</section>

## Challenge Seed
<section id='challengeSeed'>

<div id='js-seed'>

```js
function getDateFormats () {
  // Good luck!
  return true;
}

```

</div>


### After Test
<div id='js-teardown'>

```js
console.info('after the test');
```

</div>

</section>

## Solution
<section id='solution'>

```js
// solution required
```
</section>
