aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-09-15 14:37:28 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-09-15 14:37:28 +0100
commit2ce0a4a02d29f4778520b6a5ea8acc964a7efab6 (patch)
tree80b53733021d07cf764f92094d431f4658439329
parentaca2a967db559e85f97ba7c8c6ed93a68e82e7c9 (diff)
changed to a warning
-rwxr-xr-xdayplan.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/dayplan.pl b/dayplan.pl
index 24ae76a..5bea7f7 100755
--- a/dayplan.pl
+++ b/dayplan.pl
@@ -79,7 +79,6 @@ if (scalar @quicknotes == 0) {
$qnote_block = "@quicknotes"."from:"."\n"."@qfiles";
}
-my $td = $dt->strftime('%Y-%m-%d');
my $mname = $dt->month_name;
my $template = "Goal for $weekday $d $mname $y: [replace this with your goal]
---
@@ -109,7 +108,7 @@ if (-e $today_planner) {
print FH $template;
my $today = DateTime->today;
if ($today != $dt) {
- printf (FH "\nNOTE: This dayplan was generated in advance on %d-%02d-%d. Reminders and quicknotes may not be up to date.", $today->year, $today->month, $today->day);
+ printf (FH "\nWARNING: This dayplan was generated in advance on %d-%02d-%d. Reminders and quicknotes may not be up to date.", $today->year, $today->month, $today->day);
}
close FH;