Sytist Manual > Articles

Changing Booking Calendar Languge & Time Format

To  change the language for dates

In your Sytist admin click on Settings in the main menu. Then under the left menu click edit config file. 

On a blank link before the closing PHP tag which is ?> .... add these 2 lines of code (copy and paste) then save:

$setup['lc_time_names'] = "fr_FR"; // French
setlocale(LC_TIME, "fr_FR.UTF8"); // French

Use the chart below to find your language code and change the parts in bold above.

To change the time to 24 hour format

In your Sytist admin click on Settings in the main menu. Then under the left menu click edit config file.

On a blank link before the closing PHP tag which is ?> .... add these 2 lines of code (copy and paste) then save:

$setup['calendar_time_format_a'] = "G:i"; // For 24 hour time format
$setup['calendar_time_format_b'] = "%H:%M"; // FOr 24 hour time format 

And in Settings -> Admin / Main Settings, change the MySQL time format to: %k:%i


ar_AE: Arabic - United Arab Emiratesar_BH: Arabic - Bahrain
ar_DZ: Arabic - Algeriaar_EG: Arabic - Egypt
ar_IN: Arabic - Indiaar_IQ: Arabic - Iraq
ar_JO: Arabic - Jordanar_KW: Arabic - Kuwait
ar_LB: Arabic - Lebanonar_LY: Arabic - Libya
ar_MA: Arabic - Moroccoar_OM: Arabic - Oman
ar_QA: Arabic - Qatarar_SA: Arabic - Saudi Arabia
ar_SD: Arabic - Sudanar_SY: Arabic - Syria
ar_TN: Arabic - Tunisiaar_YE: Arabic - Yemen
be_BY: Belarusian - Belarusbg_BG: Bulgarian - Bulgaria
ca_ES: Catalan - Spaincs_CZ: Czech - Czech Republic
da_DK: Danish - Denmarkde_AT: German - Austria
de_BE: German - Belgiumde_CH: German - Switzerland
de_DE: German - Germanyde_LU: German - Luxembourg
el_GR: Greek - Greeceen_AU: English - Australia
en_CA: English - Canadaen_GB: English - United Kingdom
en_IN: English - Indiaen_NZ: English - New Zealand
en_PH: English - Philippinesen_US: English - United States
en_ZA: English - South Africaen_ZW: English - Zimbabwe
es_AR: Spanish - Argentinaes_BO: Spanish - Bolivia
es_CL: Spanish - Chilees_CO: Spanish - Columbia
es_CR: Spanish - Costa Ricaes_DO: Spanish - Dominican Republic
es_EC: Spanish - Ecuadores_ES: Spanish - Spain
es_GT: Spanish - Guatemalaes_HN: Spanish - Honduras
es_MX: Spanish - Mexicoes_NI: Spanish - Nicaragua
es_PA: Spanish - Panamaes_PE: Spanish - Peru
es_PR: Spanish - Puerto Ricoes_PY: Spanish - Paraguay
es_SV: Spanish - El Salvadores_US: Spanish - United States
es_UY: Spanish - Uruguayes_VE: Spanish - Venezuela
et_EE: Estonian - Estoniaeu_ES: Basque - Basque
fi_FI: Finnish - Finlandfo_FO: Faroese - Faroe Islands
fr_BE: French - Belgiumfr_CA: French - Canada
fr_CH: French - Switzerlandfr_FR: French - France
fr_LU: French - Luxembourggl_ES: Galician - Spain
gu_IN: Gujarati - Indiahe_IL: Hebrew - Israel
hi_IN: Hindi - Indiahr_HR: Croatian - Croatia
hu_HU: Hungarian - Hungaryid_ID: Indonesian - Indonesia
is_IS: Icelandic - Icelandit_CH: Italian - Switzerland
it_IT: Italian - Italyja_JP: Japanese - Japan
ko_KR: Korean - Republic of Korealt_LT: Lithuanian - Lithuania
lv_LV: Latvian - Latviamk_MK: Macedonian - FYROM
mn_MN: Mongolia - Mongolianms_MY: Malay - Malaysia
nb_NO: Norwegian(Bokmål) - Norwaynl_BE: Dutch - Belgium
nl_NL: Dutch - The Netherlandsno_NO: Norwegian - Norway
pl_PL: Polish - Polandpt_BR: Portugese - Brazil
pt_PT: Portugese - Portugalrm_CH: Romansh - Switzerland
ro_RO: Romanian - Romaniaru_RU: Russian - Russia
ru_UA: Russian - Ukrainesk_SK: Slovak - Slovakia
sl_SI: Slovenian - Sloveniasq_AL: Albanian - Albania
sr_RS: Serbian - Yugoslaviasv_FI: Swedish - Finland
sv_SE: Swedish - Swedenta_IN: Tamil - India
te_IN: Telugu - Indiath_TH: Thai - Thailand
tr_TR: Turkish - Turkeyuk_UA: Ukrainian - Ukraine
ur_PK: Urdu - Pakistanvi_VN: Vietnamese - Viet Nam
zh_CN: Chinese - Chinazh_HK: Chinese - Hong Kong
zh_TW: Chinese - Taiwan Province of China 
 
 
Sign up for email promotions.
Your information is safe with us and won't be shared.
Thank you for signing up!
 
©2003 - 2017 Grissett, LLC. All Rights Reserved.
Loading More Photos
Scroll To Top
Close Window
Loading
Close