timrwood/moment — Issue #123: 00:00:00 should not be equal to 12:00:00 when parsed with h:m:s format
Author: davidcalhoun
Created: 2012-01-06 22:45:40+00:00
State: open

These seem to be the wrong results - am I doing something wrong?

moment('12:00:00', 'hh:mm:ss').format('hh:mm:ss'); // "12:00:00"
moment('00:00:00', 'hh:mm:ss').format('hh:mm:ss'); // "12:00:00" (seems to be incorrect)

moment('12:30:00', 'hh:mm:ss').format('hh:mm:ss'); // "12:30:00"
moment('00:30:00', 'hh:mm:ss').format('hh:mm:ss'); // "12:30:00" (seems to be incorrect)