Dates before 1970, how to?

Author Message

Jorge estévez

Sunday 11 January 2009 5:59:23 am

I am making a History site, dates are a problem here due to the limit of dates before 1970, is there any soution within ez to add dates older than 1970.

thanks!

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Ekkehard Dörre

Sunday 11 January 2009 8:18:45 am

Hi Jorge,

the birthday datatype will do the trick:

http://projects.ez.no/birthday

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Tony Wood

Monday 12 January 2009 1:34:58 am

Hi Ekkehard,

We should push to make this part of the core eZ Product. In Social Media Terms the birthday is quite important.

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Georg Franz

Monday 12 January 2009 2:02:14 am

Hi folks,

sorry - ignore this post - link was already written above.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Ole Marius Smestad

Monday 12 January 2009 5:41:58 am

This is certainly something we want to address in the core of eZ Publish as well. A new or updated datatype built around the new DateTime class in PHP 5.2.x allows us to gracefully use a much larger date span, and we will get time zone calculations for free.

We have to wait until we bump the requirements of eZ Publish to PHP 5.2.x though, before we can add this.


--
Ole Marius Smestad
Lead Engineer eZ Publish
Member of the Community Project Board

Georg Franz

Monday 12 January 2009 5:55:30 am

Hi,

I thought 5.2.x is already a must for ez 4 because the current ez components are requiring php > 5.2.0 ?

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:19:52
Script start
Timing: Jan 18 2025 02:19:52
Module start 'layout'
Timing: Jan 18 2025 02:19:52
Module start 'content'
Timing: Jan 18 2025 02:19:52
Module end 'content'
Timing: Jan 18 2025 02:19:52
Script end

Main resources:

Total runtime0.6431 sec
Peak memory usage4,096.0000 KB
Database Queries72

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.0313152.6250
Module start 'layout' 0.00580.0031 741.656339.4453
Module start 'content' 0.00880.6329 781.1016685.6641
Module end 'content' 0.64170.0013 1,466.765616.1641
Script end 0.6431  1,482.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4728160.0002
Check MTime0.00130.1963160.0001
Mysql Total
Database connection0.00070.112410.0007
Mysqli_queries0.586091.1125720.0081
Looping result0.00060.0965700.0000
Template Total0.607594.520.3037
Template load0.00190.301720.0010
Template processing0.605594.156420.3028
Template load and register function0.00010.018510.0001
states
state_id_array0.00530.830510.0053
state_identifier_array0.00090.135720.0004
Override
Cache load0.00160.2496270.0001
Sytem overhead
Fetch class attribute can translate value0.00060.095650.0001
Fetch class attribute name0.00100.158490.0001
XML
Image XML parsing0.00190.299650.0004
class_abstraction
Instantiating content class attribute0.00000.0030100.0000
General
dbfile0.00120.1806280.0000
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs