DateField

A Gravity Forms date field has an option to format the date according to your preference. Unfortunately, the export functions do not honor this setting. Therefor this class was created to fix that issue.

Filters

gfexcel_field_date_format_{form_id}_{field_id}
This filter allows you to change the format for all fields, or one in particular. It only receives the format as an argument.

Example

add_filter('gfexcel_field_date_format', function($format) {
    return 'd/m/Y'; // date will be exported as 01/01/1970
});