Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Time format

Quote Reply
Time format
I have just installed the evaluation version of Gossamer Threads and think it's a great forum software, however in my country we use the 24 hour time format and not the AM/PM.

Is it possible to display the time format in 24 hour ?



Regards

John
Quote Reply
Re: [Rally64] Time format In reply to
Yes it is. If you take a look at admin => Templates => Language Vars => DATE_FORMAT

You can lookup the format of DATE_FORMAT by looking at the header of admin/GT/Date.pm which is essentially this:

Code:
# yyyy - four digit year as in 1999
# yy - two digit year as in 99
# y - two digit year without leading 0
# mmmm - long month name as in January
# mmm - short month name as in Jan
# mm - numerical month name as in 01
# m - same as mm, but without leading 0's for months 1-9
# dddd - long day name as in Sunday
# ddd - short day name as in Sun
# dd - numerical date
# d - numerical date without leading 0
# HH - numerical hours (24 hour time)
# H - numerical hours without leading 0 (24 hour time)
# hh - numerical hours (12 hour time)
# h - numerical hours without leading 0 (12 hour time)
# MM - numerical minutes
# M - numerical minutes without leading 0
# ss - numerical seconds
# s - numerical seconds without leading 0
# tt - AM or PM (use with 12 hour time)
# o - + or - gm offset

Adrian
Quote Reply
Re: [brewt] Time format In reply to
O.k. Thanks!



John