Remove some incorrect else-if logic in time plugin

Looks like this was mistakenly introduced in a whitespace/bracket cleanup.
Merge pull request #1023 from danxshap/time_fix

Remove some incorrect else-if logic in time plugin.