79835289

Date: 2025-12-01 21:15:30
Score: 0.5
Natty:
Report link

Finally found it... It's like:

    if ( $from === $to ) {
        // Single day: Woo interprets this as "during that day in site timezone"
        $args['date_created'] = $from;
    } else {
        // Range: Woo interprets this as "between those days in site timezone"
        $args['date_created'] = $from . '...' . $to;
    }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: James B.