Use UTC to calculate date when using last date (lib)
remove unused code (lib)
Add tests to formatter