XML changes and code for time formatting.