Improve local date/time impl
Add local ns, when available macros