Return the data for updated date

    :param note: the note that holds the data
    :type note: :class:`jukeboxcore.djadapter.models.Note`
    :param role: item data role
    :type role: QtCore.Qt.ItemDataRole
    :returns: data for the updated date
    :rtype: depending on role
    :raises: None

def note_updated_data(note, role):
    """Return the data for updated date

    :param note: the note that holds the data
    :type note: :class:`jukeboxcore.djadapter.models.Note`
    :param role: item data role
    :type role: QtCore.Qt.ItemDataRole
    :returns: data for the updated date
    :rtype: depending on role
    :raises: None
    """
    if role == QtCore.Qt.DisplayRole or role == QtCore.Qt.EditRole:
        dt = note.date_updated
        return dt_to_qdatetime(dt)