
Hi, I have a question regarding time and date input fields, i.e. when changing ticket to pending. How is determined day and month inputs order? And how can I change it? Is it taken from locale or somewhere else? And is there any simple way how to change default value? We postpone almost all tickets to night hours (due to smaller servers load) so it would be great to change this algorithm to provide default value like 22:00 today. Radek

Hi Radek, On Do, Okt 11 2007, Radek Hladik wrote:
i.e. when changing ticket to pending. How is determined day and month inputs order? And how can I change it? Is it taken from locale or somewhere else?
No, it doesn't use any locale configuration, it's a fixed order.
And is there any simple way how to change default value? We postpone almost all tickets to night hours (due to smaller servers load) so it would be great to change this algorithm to provide default value like 22:00 today.
The default pending time can't be set to a fixed value in current OTRS versions, but you can configure how much seconds should be added to the current time to get the default pending time. Please see the config setting Ticket::Frontend::PendingDiffTime in the Sysconfig. Henning -- Henning Oschwald ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 56818-0 :: Fax: +49 (0) 9421 56818-18 http://www.otrs.com/ :: Communication with success!

Henning Oschwald napsal(a): Hi Henning,
Hi Radek,
On Do, Okt 11 2007, Radek Hladik wrote:
i.e. when changing ticket to pending. How is determined day and month inputs order? And how can I change it? Is it taken from locale or somewhere else?
No, it doesn't use any locale configuration, it's a fixed order.
So I will have to change it in the source code. This order is very confusing for us and there are no labels so it is really easy to set it to wrong date.
And is there any simple way how to change default value? We postpone almost all tickets to night hours (due to smaller servers load) so it would be great to change this algorithm to provide default value like 22:00 today.
The default pending time can't be set to a fixed value in current OTRS versions, but you can configure how much seconds should be added to the current time to get the default pending time. Please see the config setting Ticket::Frontend::PendingDiffTime in the Sysconfig.
Thanks for info, I will try to set it to some "mean" value so users will need to correct it only a little... However it would be nice feature in next versions... Radek
Henning
------------------------------------------------------------------------
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/

Radek Hladik wrote:
Henning Oschwald napsal(a): Hi Henning,
Hi Radek, On Do, Okt 11 2007, Radek Hladik wrote:
i.e. when changing ticket to pending. How is determined day and month inputs order? And how can I change it? Is it taken from locale or somewhere else? No, it doesn't use any locale configuration, it's a fixed order.
So I will have to change it in the source code. This order is very confusing for us and there are no labels so it is really easy to set it to wrong date.
You could file a bug report about the missing labels or the fact that dates are not specified in the same order for every locale. http:// bugs.otrs.org/ Nils Breunese.
participants (3)
-
Henning Oschwald
-
Nils Breunese (Lemonbit)
-
Radek Hladik