Download & Extend

Can't use "j" format character in Date format (settings page)

Project:Scheduler
Version:6.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Well strictly speaking I *can* use it there, but then I always get a "The entered publication date is invalid." error message when trying to submit a node with a specified "Publish on" date. Even if I copy the date string from the description/help text for the field.

e.g. j/m/Y
date entered 23/04/2009

--> error!

Comments

#1

Currenty only 'dHhmiaAsyY' are supported. This might change with #250210: Integrate the new jquery popup calendar from Date module version 2, because the goal is to use the functions of the date module. But I still don't know if date can handle our requirements.

#2

Ah, thanks. Can I suggest changing the help/description text on the settings page from

The input format for the (un)scheduling time/date. See the date() function for formatting options: http://www.php.net/manual/en/function.date.php

to
The input format for the (un)scheduling time/date. Only formatting options 'dHhmiaAsyY' are supported. See the documentation for the <a href="http://php.net/date">PHP date() function</a> for their definitions: <a href="http://php.net/date">http://php.net/date</a>.

or similar?

>goal is to use the functions of the date module
I was wondering if scheduler could .. or should .. use CCK Date fields and actions...

#3

We are working at it. Dates are supposed to be enter via date text inputs or date popups if available. But there are still issues...

#4

I think I've seen issues about getting the popup to work and more flexible formats #250210: Integrate the new jquery popup calendar from Date module version 2 #314212: A better way to enter dates., I was wondering if ultimately using a fully-fledged CCK field would help with this since then scheduler wouldn't have to worry about any of that stuff, or even storage etc. Maybe there's a separate issue for that which I've not seen. Quite a big change though to how scheduler.module works.

#5

Status:active» fixed

Exactly. If we commit to the date module we should go all the way. I am working at it as my tight schedule permits.

Closing this issue. Please go to #250210: Integrate the new jquery popup calendar from Date module version 2 for further discussion.

#6

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.