Make WordPress Core

Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#12580 closed defect (bug) (fixed)

new message if php timezones-library is not installed

Reported by: neoxx's profile neoxx Owned by:
Milestone: 3.0 Priority: low
Severity: normal Version: 2.9.2
Component: Date/Time Keywords: timezone dst has-patch
Focuses: Cc:

Description

a minor thing: we're not lame anymore ;) ... - i suggest to change the message if the daylightsaving cannot be automatically set to enforce the users to get in contact with their web hosts rather than blame wordpress.

Attachments (1)

12580.diff (858 bytes) - added by neoxx 15 years ago.

Download all attachments as: .zip

Change History (8)

@neoxx
15 years ago

#1 @neoxx
15 years ago

  • Keywords has-patch added

#2 @nacin
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [13990]) We're not lame if they don't have the PHP 5 DateTime library. Change the message when there is no timezone support. props neoxx, fixes #12580.

#3 @dunxd
14 years ago

Some guidance on what is meant by "The PHP Date/Time library" would be more useful - a Google Search for that returns this page, and references to a bunch of work arounds.

What exactly is WordPress checking for? Hosts are going to be a lot more helpful when asked to install something specific, rather than something a bit vague.

#4 @dunxd
14 years ago

  • Cc dunxd added
  • Resolution fixed deleted
  • Status changed from closed to reopened

Just to update - I installed the pecl extension timezonedb - that doesn't fix it. There is no mention of any such "requirement" or suggestion in the documentation as I can find it, so please specify what is meant by php timezones-library or php date/time library, or at least use the official name of whatever it is, so that a Google search is likely to return the correct fix. Thanks.

#5 @ocean90
14 years ago

  • Keywords changed from timezone, dst, has-patch to timezone dst has-patch

Take a look at wp_timezone_supported().

#6 @nacin
14 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

Updating to PHP 5.2 should handle this. AFAIK the functions we need are all core functions, not in an extension (though of course any function can be disabled). the PECL library allows you to update your timezone list but it is not the library.

Note: See TracTickets for help on using tickets.