Skip to main content

Filter: gravityview_date_created_adjust_timezone

Whether to adjust the timezone for entries. \n.

date_created is stored in UTC format. Convert search date into UTC (also used on templates/fields/date_created.php). \n This is for backward compatibility before \GF_Query started to automatically apply the timezone offset.

Parameters

NameTypeDescription
$adjust_tzboolUse timezone-adjusted datetime? If true, adjusts date based on blog's timezone setting. If false, uses UTC setting. Default is false.
$contextstringWhere the filter is being called from. search in this case.

Since

Source

Defined in includes/widgets/search-widget/class-search-widget.php at line 786