Remove some incorrect else-if logic in time plugin

Looks like this was mistakenly introduced in a whitespace/bracket cleanup.