# Basque date declination

**URL:** <https://forum.djangoproject.com/t/basque-date-declination/43205>\
**Category:** Internationalization\
**Created:** [October 17, 2025, 9:01am UTC](https://forum.djangoproject.com/t/basque-date-declination/43205 "2025-10-17T09:01:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![leandrodesouzadev](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/leandrodesouzadev/32/8981_2.png) [@leandrodesouzadev](https://forum.djangoproject.com/u/leandrodesouzadev)\
**Post date:** [October 17, 2025, 10:49am UTC](https://forum.djangoproject.com/t/basque-date-declination/43205/2 "2025-10-17T10:49:37Z")

</div>

Hello there!

Maybe in this scenario it would be better to create a shim/facade function to format the dates?

```auto
from django.utils import date_format
from django.utils.translation import get_language

def date_format_basque(value):
  return "something"

def my_date_format(value):
  current_lang = get_language()
  if current_lang == "eu" or current_lang == "eus":
    return date_format_basque(value)
  return date_format(value)

# using it

from django.utils import timezone

print(my_date_format(timezone.localdate()))

```

Let me know if this works for you, or you’re looking to something else.

---

_[View the full topic](https://forum.djangoproject.com/t/basque-date-declination/43205)._
