<commit_before>import React from 'react'
import dateFormat from 'dateformat'
import './Text.scss'

const Text = ({ username, text, myName, self, date }) => (
  <div styleName="text">
    <header styleName="text__header">{self ? myName : username}</header>
    <main styleName="text__main">{text}</main>
    <footer styleName="text__footer">{dateFormat(date, 'HH:MM')}</footer>
  </div>
)

export default Text
<commit_msg>change date format<commit_after>import React from 'react'
import dateFormat from 'dateformat'
import './Text.scss'

const Text = ({ username, text, myName, self, date }) => (
  <div styleName="text">
    <header styleName="text__header">{self ? myName : username}</header>
    <main styleName="text__main">{text}</main>
    <footer styleName="text__footer">{dateFormat(date, 'yyyy-mm-dd HH:MM')}</footer>
  </div>
)

export default Text

{'fraction_non_alphanumeric': 0.16783216783216784, 'fraction_numerical': 0.0, 'mean_word_length': 5.3161764705882355, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4879281', 'n_tokens_mistral': 278, 'n_tokens_neox': 277, 'n_words': 67}