Why is a warning always displayed on Date API install even if the timezone, first day of week, and date format settings are correctly set? (see line 75 of http://www.drupalcontrib.org/api/drupal/contributions!date!date_api!date...). Wouldn't it be better to do variable_get checks like http://www.drupalcontrib.org/api/drupal/contributions!date!date_api!date... ?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

emmonsaz’s picture

Suggested patch...

emmonsaz’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 1: date_api-warning_message_check-2503301-1.patch, failed testing.

emmonsaz’s picture

re-rolled...

emmonsaz’s picture

Status: Needs work » Needs review
DamienMcKenna’s picture

Seems reasonable.

DamienMcKenna’s picture

Rerolled, with some adjustments to the wording.

  • DamienMcKenna committed d5dbf731 on 7.x-2.x
    Issue #2503301 by emmonsaz, DamienMcKenna: Conditional warning on...

  • DamienMcKenna committed 0093a88f on 7.x-3.x
    Issue #2503301 by emmonsaz, DamienMcKenna: Conditional warning on...
DamienMcKenna’s picture

Status: Needs review » Fixed

Committed. Thank you.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.