diff --git a/gramps/plugins/export/exportftree.py b/gramps/plugins/export/exportftree.py index a42133892..455e32015 100644 --- a/gramps/plugins/export/exportftree.py +++ b/gramps/plugins/export/exportftree.py @@ -82,7 +82,8 @@ class FtreeWriter: self.option_box.parse_options() self.db = option_box.get_filtered_database(self.db) - self.plist = [x for x in self.db.iter_person_handles()] + self.plist = self.db.get_person_handles() + self.plist.sort() # the following are used to update the progress meter self.total = 2 * len(self.plist) self.count = 0 diff --git a/gramps/plugins/export/exportgeneweb.py b/gramps/plugins/export/exportgeneweb.py index c69d9056a..ee54686b6 100644 --- a/gramps/plugins/export/exportgeneweb.py +++ b/gramps/plugins/export/exportgeneweb.py @@ -91,7 +91,8 @@ class GeneWebWriter: self.dirname = os.path.dirname (self.filename) try: with open(self.filename, "wb") as self.g: - self.flist = [x for x in self.db.iter_family_handles()] + self.flist = self.db.get_family_handles() + self.flist.sort() if len(self.flist) < 1: self.user.notify_error(_("No families matched by selected filter")) return False diff --git a/gramps/plugins/export/exportvcalendar.py b/gramps/plugins/export/exportvcalendar.py index c7f8b8d17..4c2d031f4 100644 --- a/gramps/plugins/export/exportvcalendar.py +++ b/gramps/plugins/export/exportvcalendar.py @@ -201,7 +201,7 @@ class CalendarWriter: def write_vevent(self, event_text, event): date = event.get_date_object() place_handle = event.get_place_handle() - date_string = self.format_date(date, 0) + date_string = self.format_date(date, 1) if date_string is not "": # self.writeln("") self.writeln("BEGIN:VEVENT")