Helper function for wp_trend()
Function that checks if the time span given by from and to (passed down from wp_trend) are complying with logical constraints: from not prior to first available data; to not past today; to not prior to from
first date of timespan to check
second date of timespan to check
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.