<commit_before>import React, {Fragment} from 'react'
import {format} from 'date-fns'
import {Section, P, Button} from '../../components'

const printHandler = ev => {
  ev.preventDefault()
  window && window.print()
}

const LastUpdate = ({timestamp}) => {
  const DATE_FORMAT = 'LLLL io, YYYY'
  const date = format(new Date(timestamp), DATE_FORMAT)

  return (
    <Section
      customCss={{
        color: '#bdc3c7',
        margin: '1.5rem 0',
        display: 'flex',
        justifyContent: 'space-between'
      }}
    >
      <P customCss={{margin: 0, '@media print': {marginTop: '.75rem'}}}>
        Last update: {date}
      </P>
      <Button
        name="print"
        onClick={printHandler}
        customCss={{
          background: 'none',<commit_msg>Fix last update format error.<commit_after>import React, {Fragment} from 'react'
import {format} from 'date-fns'
import {Section, P, Button} from '../../components'

const printHandler = ev => {
  ev.preventDefault()
  window && window.print()
}

const LastUpdate = ({timestamp}) => {
  const DATE_FORMAT = 'LLLL do, YYYY'
  const date = format(new Date(timestamp), DATE_FORMAT)

  return (
    <Section
      customCss={{
        color: '#bdc3c7',
        margin: '1.5rem 0',
        display: 'flex',
        justifyContent: 'space-between'
      }}
    >
      <P customCss={{margin: 0, '@media print': {marginTop: '.75rem'}}}>
        Last update: {date}
      </P>
      <Button
        name="print"
        onClick={printHandler}
        customCss={{
          background: 'none',
{'fraction_non_alphanumeric': 0.15637065637065636, 'fraction_numerical': 0.010296010296010296, 'mean_word_length': 2.599537037037037, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '3272004', 'n_tokens_mistral': 495, 'n_tokens_neox': 496, 'n_words': 129}