From 8f8938c173d76535f7003f20ce31c019f3e3d060 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Thu, 16 May 2024 00:51:42 +0300 Subject: [PATCH] moderncv: fix `show_only_years` option in PublicationEntry --- rendercv/themes/moderncv/PublicationEntry.j2.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rendercv/themes/moderncv/PublicationEntry.j2.tex b/rendercv/themes/moderncv/PublicationEntry.j2.tex index 72a2c4c..8699c82 100644 --- a/rendercv/themes/moderncv/PublicationEntry.j2.tex +++ b/rendercv/themes/moderncv/PublicationEntry.j2.tex @@ -1,5 +1,5 @@ \cventry{ - <<-entry.date_string->> + ((*- if design.show_only_years *))<<-entry.date_string_only_years->>((* else *))<<-entry.date_string->>((* endif -*)) }{\textbf{<>}}{ <<-entry.journal->> }{