fix datetime attribute on last minutes