improved minute offset handling