Skip to content
Snippets Groups Projects
Commit 13046e9b authored by Friederike Schwager's avatar Friederike Schwager Committed by Friederike Schwager
Browse files

bugfix time format

parent ebb33227
No related branches found
No related tags found
No related merge requests found
......@@ -394,7 +394,7 @@ class pdfannotator_comment {
$comment->content = $content;
$comment->timemodified = time();
$comment->modifiedby = $USER->id;
$time = pdfannotator_get_user_datetime($comment->timemodified);
$time = pdfannotator_optional_timeago($comment->timemodified);
$success = $DB->update_record('pdfannotator_comments', $comment);
} else {
$success = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment