def test_home_assistant_start_stop_grouped(self):
        entries = list(logbook.humanify((
            ha.Event(EVENT_HOMEASSISTANT_STOP),
            ha.Event(EVENT_HOMEASSISTANT_START),
            )))

        self.assertEqual(1, len(entries))
        self.assert_entry(
            entries[0], name='Home Assistant', message='restarted',
            domain=ha.DOMAIN)
Converts date from format %Y-%m-%d into proper DMS global date format
dataset/ETHPy150Open home-assistant/home-assistant/tests/components/test_logbook.py/TestComponentHistory.test_home_assistant_start_stop_grouped--crossover with--dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/libraries/adlibre/date_converter.py/date_standardized