- Change const & c = bufferview()->getCurrentChange();
- if (c.type == Change::UNCHANGED)
- return docstring();
-
- // FIXME UNICODE
- return from_utf8(formatted_time(c.changetime, lyxrc.date_insert_format));
-}
-
-
-docstring GuiChanges::changeAuthor() const
-{
- Change const & c = bufferview()->getCurrentChange();
- if (c.type == Change::UNCHANGED)
- return docstring();
-
- Author const & a = buffer().params().authors().get(c.author);
-
- docstring author = a.name();
-
- if (!a.email().empty())
- author += " (" + a.email() + ")";
-
- return author;