diff --git a/App/Controllers/Posts.php b/App/Controllers/Posts.php
index 4579a35..ef1d0b8 100644
--- a/App/Controllers/Posts.php
+++ b/App/Controllers/Posts.php
@@ -83,12 +83,16 @@ class Posts
public function entry()
{
if (Session::exists('userid')) {
+ $date = new \DateTime();
+ $now = $date->format("Y-m-d");
+
$categories = $this->post->showCategories();
$user = Session::get('userid');
View::render('Data/entry_pengumuman.html', [
'categories' => $categories,
+ 'timestamp' => $now,
'user' => $user,
'token' => Token::generate()
]);
diff --git a/App/Views/Data/entry_pengumuman.html b/App/Views/Data/entry_pengumuman.html
index b50248e..b2545e6 100644
--- a/App/Views/Data/entry_pengumuman.html
+++ b/App/Views/Data/entry_pengumuman.html
@@ -16,12 +16,12 @@
-
+
-
+