diff options
-rw-r--r-- | calendar.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |