Date

Based on date-fns date formatting, see more details date-fns (China mirror: moment format)

date-fns supports different kinds of time formats, such as:

  • 2018-08-24 18:08:20

  • 2018-08-24

  • 20180824

  • 1503571962333

{{data.registered | _date: 'YYYY年MM月DD日'}}</code></pre><p>Output:</p><pre class="hljs language-null"><code>2017年08月24日