When setting the expiry in the web UI, the datetime is interpreted as utc not local time. This may cause pastes to expire before & after set time. The solution is to set the local timezone in the settings, this will be implemented in V1.7.