Skip to content

Commit

Permalink
fix: spanish iso for dates
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcego committed Dec 8, 2024
1 parent e3503aa commit 15cae34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_data/blog.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function formatDate(raw: string): Post['date'] {
date.setUTCHours(12)
return {
time: +date,
string: date.toLocaleDateString('en-US', {
string: date.toLocaleDateString('es-ES', {
year: 'numeric',
month: 'long',
day: 'numeric',
Expand Down

0 comments on commit 15cae34

Please sign in to comment.