def METHOD_NAME():
    """Test that add_timestamp can work with xarray datetime accessor."""
    fig = plt.figure()
    ax = fig.add_subplot(1, 1, 1)
    ds = xr.open_dataset(get_test_data('AK-REGIONAL_8km_3.9_20160408_1445.gini'),
                         engine='gini')
    txt = add_timestamp(ax, ds.time.dt, pretext='')
    assert txt.get_text() == '2016-04-08T14:45:20Z'