Neuromorphic Online Learning for Spatiotemporal Patterns with a Forward-only Timeline