4ndygu / civicrm_osdi

An Extension for importing from and exporting to OSDI endpoints from CiviCRM
Other
4 stars 4 forks source link

Define setting #15

Closed MegaphoneJon closed 6 years ago

MegaphoneJon commented 6 years ago

Settings in extensions must be defined with metadata, so that various functions can incorporate it seamlessly. This PR defines the local time zone in settings metadata; I know there are more settings, but this is a start.

As a sidebar, I'm not sure this particular setting is necessary. I think you can accomplish the same thing with DateTime::getTimezone combined with DateTime::getOffset.

4ndygu commented 6 years ago

LGTM