diff --git a/true_admin.theme b/true_admin.theme
index a9f5dca..7d116a1 100644
--- a/true_admin.theme
+++ b/true_admin.theme
@@ -23,7 +23,7 @@ function true_admin_form_node_form_alter(&$form, FormStateInterface $form_state)
   $form['#attached']['library'][] = 'true_admin/global-styling';
 
   $form['advanced']['#type'] = 'container';
-  $is_new = !$node->isNew() ? format_date($node->getChangedTime(), 'short') : t('Not saved yet');
+  $is_new = !$node->isNew() ? \Drupal\Core\Datetime\DateFormatter::format($node->getChangedTime(), 'short') : t('Not saved yet');
   $form['meta'] = array(
     '#attributes' => array('class' => array('entity-meta__header')),
     '#type' => 'container',
@@ -46,7 +46,7 @@ function true_admin_form_node_form_alter(&$form, FormStateInterface $form_state)
     'author' => array(
       '#type' => 'item',
       '#wrapper_attributes' => array('class' => array('author', 'container-inline')),
-      '#markup' => '<h4 class="label inline">' . t('Author') . '</h4> ' . $node->getOwner()->getUsername(),
+      '#markup' => '<h4 class="label inline">' . t('Author') . '</h4> ' . $node->getOwner()->getAccountName(),
     ),
   );
   $form['revision_information']['#type'] = 'container';
