Problems triggering an event using localtimeinfo