fixed date conversion
added spring profile for local