summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--calendar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar.c b/calendar.c
index ca8d069..8011cb7 100644
--- a/calendar.c
+++ b/calendar.c
@@ -1,7 +1,7 @@
/*
* UNG's Not GNU
*
- * Copyright (c) 2022, Jakob Kaivo <jkk@ung.org>
+ * Copyright (c) 2023, Jakob Kaivo <jkk@ung.org>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -67,13 +67,13 @@ int main(int argc, char *argv[])
const int REFLAGS = REG_ICASE | REG_NOSUB | REG_EXTENDED;
for (size_t i = 0; i < nregs; i += 3) {
char buf[64];
- strftime(buf, sizeof(buf), "%b.? +%e", tm);
+ strftime(buf, sizeof(buf), "%b.? *%e", tm);
if (regcomp(re + i, buf, REFLAGS) != 0) {
perror(buf);
return 1;
}
- strftime(buf, sizeof(buf), "%B %e", tm);
+ strftime(buf, sizeof(buf), "%B *%e", tm);
if (regcomp(re + i + 1, buf, REFLAGS) != 0) {
perror(buf);
return 1;