On 2025/10/01 22:57, Ales Horak wrote:
> I was running Trac 1.2 with a custom field "due_date" and the DateField 
> plugin.
> The definitions in trac.ini are:
>
> [ticket-custom]
> due_date = time
> due_date.date = true
> due_date.date_empty = true
> due_date.format = date
> due_date.label = Termín dokončení
> due_date.order = 0
> due_date.value = DD-MM-YYYY
>
> [datefield]
> first_day = 1
> format = dmy
> separator = .
>
> This worked ok in ticket editing with correct setting in our date format as 
> 29.10.1999.
>
> After upgrade to Trac 1.6, the custom field works ok, but the calendar widget 
> trac-datepicker does not follow the datefield settings and works with dates 
> in the format of 10/29/1999, week start on Sunday.
>
> How can I change the trac calendar widget format to the original datefield 
> settings?

It is unable to. The date picker always determines the format based on user's 
locale.

-- 
Jun Omae <[email protected]> (大前 潤)

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/trac-users/0c5e2336-3265-41cb-a16f-c35e4f02e51f%40gmail.com.

Reply via email to