Re: Does it work with military hours? (24h)

Splash Forums PrettyTime Users Does it work with military hours? (24h) Re: Does it work with military hours? (24h)

#20639

Timestamps should not be dependent on 12hr/24hr time formatting. As long as the java.util.Date() object has the correct timestamp in it (the number of milliseconds since the epoch,) PrettyTime will function normally.

I’d recommend making sure that your Date() objects are initialized properly. If possible, send me a test-case that demonstrates this problem and I’ll try to work on it.

Thanks,

Lincoln