Forums / Developer / Dates before 1970, how to?

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

eZ debug

Timing: Jan 17 2025 23:40:22
Script start
Timing: Jan 17 2025 23:40:22
Module start 'content'
Timing: Jan 17 2025 23:40:24
Module end 'content'
Timing: Jan 17 2025 23:40:24
Script end

Main resources:

Total runtime1.3433 sec
Peak memory usage4,096.0000 KB
Database Queries209

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.8438180.8359
Module start 'content' 0.00621.1866 769.6797688.8359
Module end 'content' 1.19280.1504 1,458.5156337.0625
Script end 1.3432  1,795.5781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.2910210.0002
Check MTime0.00160.1157210.0001
Mysql Total
Database connection0.00080.056010.0008
Mysqli_queries1.267294.33622090.0061
Looping result0.00220.16192070.0000
Template Total1.311997.720.6560
Template load0.00200.150520.0010
Template processing1.309997.510720.6549
Template load and register function0.00020.014410.0002
states
state_id_array0.00110.078310.0011
state_identifier_array0.00110.081420.0005
Override
Cache load0.00170.1251270.0001
Sytem overhead
Fetch class attribute can translate value0.00130.098960.0002
Fetch class attribute name0.00110.081790.0001
XML
Image XML parsing0.00190.138560.0003
class_abstraction
Instantiating content class attribute0.00000.0014100.0000
General
dbfile0.00460.3392390.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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