CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Windows and IIS installations »
  • dates prior to 1900
Pages: [1]

Author Topic: dates prior to 1900  (Read 2315 times)

co-operatives uk

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.2.0
  • CMS version: Drupal 7.15
  • MySQL version: 5
  • PHP version: 5
dates prior to 1900
September 29, 2011, 05:55:11 am
Having a problem with dates prior to 1900: they're defaulting to 1970/01/01. It's not UNIX because anything between 1970 and 1900 is fine, so I think there's a php setting somewhere: the issue doesn't recreate on the demo site.

Dates can be entered direct onto the database and display fine in civi, but if you edit it switches to 1970-01-01 and won't change.

Does anybody know what I have to fiddle with to make them work?

Thanks

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: dates prior to 1900
September 30, 2011, 12:47:09 am
Hmmm I have had a similar issues with the Dutch dates (any date in March, May or October showed up as 1970/1/1), and in the end I made sure that the 'M' format was never used....even if the issue is different you might have a play there and see if it makes any difference?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Windows and IIS installations »
  • dates prior to 1900

This forum was archived on 2017-11-26.