mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 07:10:27 +08:00
11 lines
244 B
JavaScript
11 lines
244 B
JavaScript
import React from 'react';
|
|
import {timeago} from 'coral-framework/services/i18n';
|
|
|
|
const name = 'talk-plugin-pubdate';
|
|
|
|
const PubDate = ({created_at}) => <div className={`${name}-text`}>
|
|
{timeago(created_at)}
|
|
</div>;
|
|
|
|
export default PubDate;
|