updated local-time support: replaced encode-local-time with encode-times...

This should resolve issue #2
Tested only for `strptime` but expected to work on the other functions as well.