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 »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail not using Drupal-set timezone.
Pages: 1 [2]

Author Topic: CiviMail not using Drupal-set timezone.  (Read 13034 times)

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviMail not using Drupal-set timezone.
August 06, 2007, 06:45:14 pm

Martin:

thanx a lot for taking the initiative and working on the problem. Based on what you have done, i've reopened the foll issue

http://issues.civicrm.org/jira/browse/CRM-1952

and scheduled it for CiviCRM 2.0 (only critical bugs are being fixed in CiviCRM v1.8, no new functionality or features)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: CiviMail not using Drupal-set timezone.
August 09, 2007, 01:04:00 am
Thanks a lot for investigating this and providing a solution! This is filed as CRM-1952 in our issue tracker; CiviCRM 1.8 is feature-frozen, so I’ll commit the above solution to trunk, but if you want this bad for 1.8 you’ll be able to simply backport this fix to your installation.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

msn

  • I post frequently
  • ***
  • Posts: 152
  • Karma: 6
  • Please talk to the other site
Re: CiviMail not using Drupal-set timezone.
December 02, 2007, 09:52:00 am
For CiviCRM V1.9 solution 1 is enough:

Solution 1:  Make your own costum time zone. In civicrm.settings.php I inserted from line 6:

/**
 * Setup your timezone for local timings in civicrm:
 * For the list of the supported timezones see: http://nl3.php.net/manual/nl/timezones.php
 * Settings for the Netherlands:
 *          ini_set('date.timezone','Europe/Amsterdam');
 * Uncommand and fill in the timezone setting when you have timing differences
 */
#ini_set('date.timezone','             ');

ekendra

  • Guest
Re: CiviMail not using Drupal-set timezone.
May 22, 2010, 04:55:16 am
Has there been any solution to this integrated into the CiviCRM code yet? (been a while)

I don't really want to hack (patch if you prefer) something that seems as if it would be a constant issue with a mailer feature.

Does CiviCRM just assume that the server is located in the same time zone as the people using the site?

I hope not.

I tried to send something out and it just got put into the queue as a scheduled mailout even though I ticked 'immediately'

any suggestions?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviMail not using Drupal-set timezone.
May 23, 2010, 04:40:03 pm

1. civicrm gets the timezone from the host environment

2. a mailing event when marked "send immediately" is always scheduled. the cron job does the actual sending. you might want to give the book chapter on civimail a quick read:

http://en.flossmanuals.net/CiviCRM/WhatAreMailingAndMassMailing

3. If you / your org are interested in contributing timezone functionality to civicrm that would be great. You can either contribute code and/or sponsor a developer to do the needful. As an open source project, community contributions are essential for the ecosystem to flourish.

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mbrown555

  • I’m new here
  • *
  • Posts: 21
  • Karma: 1
  • CiviCRM version: 3.3
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: not sure
Re: CiviMail not using Drupal-set timezone.
March 03, 2011, 12:33:25 pm
Hi Lobo,

How much time would it take to create a timezone module? (by the core team?)

Thanks

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail not using Drupal-set timezone.

This forum was archived on 2017-11-26.