summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex/latex/lbx/swedish.lbx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-03-22 03:01:48 +0000
committerNorbert Preining <norbert@preining.info>2024-03-22 03:01:48 +0000
commitafa6b76072e6106ffd418c05eff7da555eebb605 (patch)
treef36be49c5fa5e079ae8b3a360f3a67a90cb680d6 /macros/latex/contrib/biblatex/latex/lbx/swedish.lbx
parent1c5f075956663aa87b675cccdaa9f3eebfd83af9 (diff)
CTAN sync 202403220301
Diffstat (limited to 'macros/latex/contrib/biblatex/latex/lbx/swedish.lbx')
-rw-r--r--macros/latex/contrib/biblatex/latex/lbx/swedish.lbx5
1 files changed, 3 insertions, 2 deletions
diff --git a/macros/latex/contrib/biblatex/latex/lbx/swedish.lbx b/macros/latex/contrib/biblatex/latex/lbx/swedish.lbx
index 9bf171b2c3..4d7163323d 100644
--- a/macros/latex/contrib/biblatex/latex/lbx/swedish.lbx
+++ b/macros/latex/contrib/biblatex/latex/lbx/swedish.lbx
@@ -24,6 +24,7 @@
\DeclareRedundantLanguages{swedish}{swedish}
\DeclareBibliographyExtras{%
+ \renewrobustcmd*{\bibdatesep}{\mbox{-}}%
\protected\def\bibrangedash{%
\textendash\penalty\hyphenpenalty}% breakable dash
\let\finalandcomma=\empty
@@ -62,11 +63,11 @@
{\iffieldbibstring{#1}
{\bibstring{\thefield{#1}}}
{\dateeraprintpre{#1}\mkyearzeros{\thefield{#1}}}%
- \iffieldundef{#2}{}{\mbox{-}}}%
+ \iffieldundef{#2}{}{\bibdatesep}}%
\iffieldundef{#2}
{}
{\mkmonthzeros{\thefield{#2}}%
- \iffieldundef{#3}{}{\mbox{-}}}%
+ \iffieldundef{#3}{}{\bibdatesep}}%
\iffieldundef{#3}
{}
{\mkdayzeros{\thefield{#3}}}}%