<commit_before>import * as React from 'react';

import * as Markup from '../../js/react';
import {DatePicker} from '../../../app';
import {TimePicker} from '../../../app-typescript/components/TimePicker';

class DatePickerExample extends React.PureComponent<{}, {date: Date}> {
    constructor(props) {
        super(props);

        this.state = {
            date: new Date(),
        };
    }
    render() {
        return (
            <DatePicker
                value={this.state.date}
                onChange={(date) => {
                    this.setState({date});
                }}
            />
        );
    }
}

class TimePickerExample extends React.PureComponent<{}, {time: string}> {
    constructor(props) {
        super(props);<commit_msg>feat(react): datePicker fix<commit_after>import * as React from 'react';

import * as Markup from '../../js/react';
import {DatePicker} from '../../../app';
import {TimePicker} from '../../../app-typescript/components/TimePicker';

class DatePickerExample extends React.PureComponent<{}, {date: Date}> {
    constructor(props) {
        super(props);

        this.state = {
            date: new Date(),
        };
    }
    render() {
        return (
            <DatePicker
                value={this.state.date}
                dateFormat="YYYY-MM-DD"
                onChange={(date) => {
                    this.setState({date});
                }}
            />
        );
    }
}

class TimePickerExample extends React.PureComponent<{}, {time: string}> {
    constructor(props) {
        super(props);
{'fraction_non_alphanumeric': 0.16030534351145037, 'fraction_numerical': 0.0, 'mean_word_length': 1.7693661971830985, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '1983791', 'n_tokens_mistral': 430, 'n_tokens_neox': 428, 'n_words': 90}