Since Timeline seems dependent on Date API (despite the overview seeming to suggest otherwise), it inherits all the Date API limits for date ranges. I'd love to use Timeline on a current project which documents dates from 10,000BC to well into the future - in order to store such dates in Drupal I've had to decompose them into day/month/year integer fields, but Timeline seems insistent on using only Date API date fields.

Anyone else dealt with this?

Comments

xamanu’s picture

Status: Active » Postponed

There is an open issue on #602956: Implement supported fields as plugins. With this is should be relatively easy to write little plugins in order to support all kinds of input fields.
This should be done first and afterward it would be just a simple plugin to write in order to have support for any special field type.

dedalu’s picture

Same here... For historiographical content, BC dates are indispensable. Subscribing the request.

KrisBulman’s picture

subscribing

KrisBulman’s picture

I notice that dates using CCK Date field do allow for back until 1BC (0001)..

Is it possible to enter the negative values to at least go back until 9999BC?

xamanu’s picture

Please try before asking!
Actually, this would be an issue/question for the date module, not for timeline!
Answering your question: I'm not sure (I'm not the date module's maintainer), but I don't think it is possible. Better: Wait (or contribute in the process) till the plugins for supported fields are out and write your own plugin to support whatever you want.

KrisBulman’s picture

Version: master » 6.x-2.1
Status: Needs work » Postponed

i have tried a few things such as negative values, but I'm just a user of drupal searching for answers after spending hours hacking at it, I'm not a developer.

thought there might be a known solution out there but I appreciate the reply.

rogerhoward’s picture

At very least, shouldn't this comment in the module overview...

"It makes use of the Date module (if present) as source for temporal information defined on cck date fields of nodes."

... be fixed ince the Data module is actually required for Timeline (or I'd gladly use CCK text fields for my date values).

Would it instead be possible to get BCE support from Timeline by allowing the admin to use text fields (populated with date-like strings), avoiding Date API altogether (if that's the problem)?

xamanu’s picture

Version: 6.x-2.1 » 6.x-3.x-dev
Status: Postponed » Needs work

The newest 3.x branch supports plugins based on ctools to be implemented by other (sub) modules. Please check it out to see how to implement support for any kind of data field.

Now you should be able to build a workaround with f.e. classical text fields to support any year spesification, even it wouldn't be supported by the date module. It would be nice if you could share your code here.
Thanks!

walwyn’s picture

subscribing

polskikrol’s picture

Subscribing.... Timeline used to work in version 2.x with cck date fields. Now it appears to only work with Node Date only.

chien_fu’s picture

I would very much like to be able to add BC dates to my timelines as well.

Lakeside’s picture

It's sad to have to scrap the use of this outstanding module for my current project because it won't permit a BC date. What's particularly frustrating is that there is ONLY ONE BC date, which must be included in the timeline. Ugh!

Has anyone found a workaround with CTOOLS? Would you mind sharing how you did it?

xamanu’s picture

Version: 6.x-3.x-dev » master

It is now possible to provide new date sources, f.e. a normal text field, that could work, with some validation, to use historical - BC - dates, to the timeline module. This should it make a lot easier for you to get this (and other) functionalities programmed. I think here is "just" some documentation missing.

Please check the related issue on that: #602956: Implement supported fields as plugins
And help testing :-) Thanks.

Rocinant’s picture

Version: 6.x-2.1 » master
Status: Postponed » Needs work

Hi Xamanu, Thank you very much for your great work on the Timeline module! I am using it on a website on economic history. The webmaster wants to incorporate some BC dates in the timeline. I have downloaded the 6.x-3.x-dev version of the module and the CTools module. Although I am quite experienced in Drupal I do miss some documentation (albeit very basic) to continue working with the timeline. Would you be able to provide me with an outline on how to use the timeline with BC dates? Thanks in advance!

bomarmonk’s picture

Rocinant, I'm wondering the same thing: it would be great to have some documentation of adding BC dates to a timeline. It sounds as though it's possible, but the path to success isn't clear to me.

kevin-bcr’s picture

Subscribe. Would love to know how to use BCE dates, ideally back to 10,000 BCE. Kevin

Vacilando’s picture

Very interested in how to do this in D7.

bomarmonk’s picture

I have BC dates working for Drupal 6 using the patches for date module here: http://drupal.org/node/273251. I just don't know how to get the field to accept negative numbers bigger than 9999 BC. Any help on altering the length of the date field in the database???

Carlos Miranda Levy’s picture

Take a look at http://drupal.org/project/partial_date for Drupal 7 - handles from 999999999999BC to 999999999999AD