Replace date parameter %k by %H.

To close issue #1, %k is replaced by %H.