[Typo3] Date and time fields in the backend (in Extended Calendar)
Justin Patrin
papercrane at gmail.com
Thu Oct 13 19:40:37 CEST 2005
On 10/13/05, Justin Patrin <papercrane at gmail.com> wrote:
> The date fields in the backend while editing events for the Extended
> Calendar are set up in a non-US way (I can deal with it but of course
> my clients can't). I've changed the date and time formats in localconf
> to what I want but those don't affect these BE fields. How can I alter
> the formats to something different here?
>
Replying to myself here. It looks like these formats are HARD-CODED in
t3lib/jsfunc.evalfield.js. I changed the formats and they *output*
fine but it's not that simple. An altered date format outputs and
inputs just fine (when saving it still saved right, I assume perhaps
strtotime is used) but it doesn't work with the Date2Calendar
extension (it's assuming d-m-Y).
If I try to change the time, it shows up right in the field but
submitting doesn't pick up the am/pm that I added.
Looks like the BE date/time fields need some major work to allow
different formats.
--
Justin Patrin
More information about the TYPO3-english
mailing list