diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index e115fa61..c50cb667 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -171,5 +171,11 @@ Testing checklist: - After making a small edit and deploying, confirm the timestamp updates to the new edit time. - If using automated deploys, ensure the deploy process preserves or updates the canonical timestamp source (e.g., touch file, update metadata) so the displayed value is accurate. +Maintainer update requirement: +- The canonical human-friendly timestamp is stored in `modules/billing/timestamp.txt` and MUST be updated whenever site files or content are edited and deployed. +- Format and wording: use a single-line plain-text entry such as: "Last Updated at 7:25am on 2025-15-11". This exact text (including capitalization) is what appears in theme footers. +- Update process: include the `timestamp.txt` change in the same commit/PR as any content change that should alter the "Last Updated" time, or ensure your deployment process updates the file automatically (for example, a post-deploy hook that writes the current deploy time in the agreed format). +- Rationale: themes are non-PHP files and may not support SSI on all servers; keeping a single canonical plain-text file reduces duplication and avoids server-side includes. + **End of Copilot Instructions (No-Code).** diff --git a/modules/billing/includes/footer.php b/modules/billing/includes/footer.php index b174055a..e6456ebe 100644 --- a/modules/billing/includes/footer.php +++ b/modules/billing/includes/footer.php @@ -4,6 +4,15 @@ diff --git a/modules/billing/timestamp.txt b/modules/billing/timestamp.txt new file mode 100644 index 00000000..7abbabc3 --- /dev/null +++ b/modules/billing/timestamp.txt @@ -0,0 +1 @@ +Last Updated at 7:25am on 2025-15-11 diff --git a/themes/AdminLTE-2/bottom.html b/themes/AdminLTE-2/bottom.html index e3c13425..f9d7381a 100644 --- a/themes/AdminLTE-2/bottom.html +++ b/themes/AdminLTE-2/bottom.html @@ -3,4 +3,7 @@ \ No newline at end of file + +