fixed dates formatting macros, fixed statemanager when using contexts instead of pages
Merge pull request #174 from lexoyo/develop

fixed dates formatting macros, fixed statemanager when using contexts in...