def test_AlertDate_properties_work_with_bst():
    sample_datetime = dt_parse('2021-04-20T23:30:00Z')
    alerts_date = AlertDate(sample_datetime)
    assert (alerts_date.as_lang == 'at 12:30am on Wednesday 21 April 2021')
    assert (alerts_date.as_iso8601 == '2021-04-21T00:30:00+01:00')
    assert (alerts_date.as_utc_datetime == dt_parse('2021-04-20T23:30:00Z'))
    assert (alerts_date.as_local_datetime == dt_parse('2021-04-21T00:30:00+01:00'))
    assert (alerts_date.as_local_date == date(2021, 4, 21))
    assert (alerts_date.as_url == '21-apr-2021')
def test_AlertDate_properties_work_with_bst():
    sample_datetime = dt_parse('2021-04-20T23:30:00Z')
    alerts_date = AlertDate(sample_datetime)
    assert (alerts_date.as_lang == 'at 12:30am on Wednesday 21 April 2021')
    assert (alerts_date.as_iso8601 == '2021-04-21T00:30:00+01:00')
    assert (alerts_date.as_utc_datetime == dt_parse('2021-04-20T23:30:00Z'))
    assert (alerts_date.as_local_datetime == dt_parse('2021-04-21T00:30:00+01:00'))
    assert (alerts_date.as_local_date == date(2021, 4, 21))
    assert (alerts_date.as_url == '21-apr-2021')