pub / rememori

Simple file-based bookmarking and notes application
git clone https://src.jayvii.de/pub/rememori.git
Home | Log | Files | Exports | Refs | README | RSS

commit adb97dc3c63f5dce0688e4eb2e842ed97b66f41b
parent 00c944208cb4cedad0eaba85212ca4edf47cab24
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat, 26 Oct 2024 12:57:26 +0200

fix: use time of content change

Diffstat:
Mconfig/i18n.php | 3---
Mlib/helpers.php | 2+-
2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/config/i18n.php b/config/i18n.php @@ -10,7 +10,6 @@ if ($lang == "en") { $GLOBALS["i18n_category"] = "Category"; $GLOBALS["i18n_filename"] = "File name"; $GLOBALS["i18n_save"] = "Save note"; - $GLOBALS["i18n_ctime"] = "Last edited"; $GLOBALS["i18n_edit"] = "Edit note"; $GLOBALS["i18n_new"] = "New note"; $GLOBALS["i18n_list"] = "All"; @@ -23,8 +22,6 @@ if ($lang == "en") { $GLOBALS["i18n_cookie"] = "Keep me logged in! (this will set a cookie)"; $GLOBALS["i18n_cookie_session"] = "No, only temporarily"; $GLOBALS["i18n_cookie_long"] = "Yes, keep me logged in for 30 days"; - - } ?> diff --git a/lib/helpers.php b/lib/helpers.php @@ -89,7 +89,7 @@ function gather_notes( "", basename($file_path) ), - "time" => filectime($file_path), + "time" => filemtime($file_path), "link" => link_in_first_line($file_path) ) );