reformat_epirange function

helper to convert an epirange from week to day or vice versa