Added log for debugging
Updated bootstrap core to 3.1.0
Updated date format function