[TYPO3-project-4-3] Datepicker for TCEFORMS
Martin Kutschker
masi-no at spam-typo3.org
Mon Aug 17 21:26:44 CEST 2009
Steffen Kamper schrieb:
> Hi Masi,
>
> Martin Kutschker schrieb:
>> Steffen Kamper schrieb:
>>> Hi,
>>>
>>> i started to use the ExtJS Datepicker for Datefields. Precondition is
>>> #11627 v2 which is included in this diff.
>>
>>
>> Why don't you move the complete code of convertDateFiledsToDatePicker()
>> in the Ext.onready()? You already create an anonymous function in the
>> call to Ext.onready(), so there is no need to create a named one in the
>> *global* namespace.
>>
>
> necause this is the style most Ext application are wrote. It's like the
> php classes. Whenever you need such class, bring it in your namespace.
I don't get what you mean. I complain that
convertDateFiledsToDatePicker() is in the global namespace.
>> And I'm wondering why there is no support for date formats with slashes.
>> The tricky part would be if we want to allow m/d/Y and d/m/Y depending
>> on the USdate config setting. But I guess that the former is more
>> widespread so we can do without the switch.
>>
>
> this is a thing for rewriting the js_eval.
If js_eval does the conversion then why are there alternative formats
needed at all for the date picker?
Masi
More information about the TYPO3-project-4-3
mailing list