Attempting to reduce dependency on moment.js