jacobwb / hashover

Free and Open Source PHP Comment System
http://tildehash.com/?page=hashover
GNU Affero General Public License v3.0
255 stars 30 forks source link

Suggestion: Save time of post in 24 hours format #7

Closed q2apro closed 9 years ago

q2apro commented 9 years ago

Currently time gets saved with AM or PM:

<date>01/02/2015 - 12:00am</date>

For internationalization, I suggest to save the time in 24:00 format.

Furthermore I suggest to save the date in Format: 2015-02-01

PS: As a workaround I am using $cmt_date = date('H:i', strtotime($get_cmtdate[1])) . ' heute'; for now.

jacobwb commented 9 years ago

The saved date should be some kind of standard, yes, probably ISO 8601.