tangled
alpha
login
or
join now
finxol.io
/
portfolio
0
fork
atom
Personal site
staging.colinozanne.co.uk
portfolio
astro
0
fork
atom
overview
issues
pulls
pipelines
fix: date locale
finxol.io
2 months ago
054c8464
8bc2dd57
verified
This commit was signed with the committer's
known signature
.
finxol.io
SSH Key Fingerprint:
SHA256:olFE3asYdoBMScuJOt60UxXdJ0RFdGv5kVKrdOtIcPI=
+9
-3
1 changed file
expand all
collapse all
unified
split
src
components
pages
project.astro
+9
-3
src/components/pages/project.astro
···
59
59
<span>
60
60
{
61
61
project.endDate
62
62
-
? project.startDate.toLocaleDateString(locale) +
62
62
+
? project.startDate.toLocaleDateString(
63
63
+
locale === "en" ? "en-GB" : locale,
64
64
+
) +
63
65
" – " +
64
64
-
project.endDate.toLocaleDateString(locale)
66
66
+
project.endDate.toLocaleDateString(
67
67
+
locale === "en" ? "en-GB" : locale,
68
68
+
)
65
69
: content.datePrefix +
66
70
" " +
67
67
-
project.startDate.toLocaleDateString(locale)
71
71
+
project.startDate.toLocaleDateString(
72
72
+
locale === "en" ? "en-GB" : locale,
73
73
+
)
68
74
}
69
75
</span>
70
76
</div>