Does anyone know if I can re-configure Serendipity to accept dates older than 1970?
I would like to set up a historical (biographical) blog for an actress whose career ran from 1938 to 1971. Is it possible to save a blog entry with a date such as 01/01/1938?
Can I alter the configuration to accept dates that old?
Dates prior to 1970
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Dates prior to 1970
Hi!
Sadly not because internally s9y uses Linux timestamps. To change this would mean changing a lot of code.
The only way I see is to use the "Custom entryproperties" plugin and assign the date to one of the custom fields and print it in your template.
Or you could enter the date in the title of the entry and edit the entries.tpl template to remove references to the "real" timestamp, so that only the titles are printed.
I'm sorryfor that ugly hack, but it doesn't work otherwise
Best regards,
Garvin
Sadly not because internally s9y uses Linux timestamps. To change this would mean changing a lot of code.
The only way I see is to use the "Custom entryproperties" plugin and assign the date to one of the custom fields and print it in your template.
Or you could enter the date in the title of the entry and edit the entries.tpl template to remove references to the "real" timestamp, so that only the titles are printed.
I'm sorryfor that ugly hack, but it doesn't work otherwise
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/