Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd February 2012, 16:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default Need some help with date / time formats

Hi,

I'am currently updating the date and time formats in the ispconfig language files and need some help for the other languages beside 'de' and 'en'.

The 'de' formats are:

$wb['conf_format_dateshort'] = 'd.m.Y';
$wb['conf_format_datelong'] = 'l, d. F Y';
$wb['conf_format_timeshort'] = 'H:i';
$wb['conf_format_timelong'] = 'H:i:s';
$wb['conf_format_datetime'] = 'd.m.Y H:i';

The 'en' formats are:

$wb['conf_format_dateshort'] = "Y-m-d";
$wb['conf_format_datelong'] = "l dS of F Y";
$wb['conf_format_timeshort'] = "H:i";
$wb['conf_format_timelong'] = "H:i:s";
$wb['conf_format_datetime'] = "Y-m-d H:i";

The date format is in PHP notation:

http://php.net/manual/de/function.date.php

Please post the formats for the languages that you know here in the thread so that I can check if they are set correctly in the other language files.

Thanks in advance,

Till
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #2  
Old 23rd February 2012, 16:24
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts
 
Default

Dutch is using the same format as German... Or are the Germans using the same as the Dutch ;-)
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
The Following 2 Users Say Thank You to edge For This Useful Post:
falko (24th February 2012), till (23rd February 2012)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
server.sh not starting up tuxillo Installation/Configuration 8 31st December 2010 15:14
Hacked server Captain Installation/Configuration 8 23rd December 2010 11:39
CPU load locks up box. Apache or MYSQL related. crypted General 61 29th October 2010 23:16
rkhunter report Captain Installation/Configuration 6 10th October 2010 14:05
adding mail boxes kwickcut Server Operation 20 11th August 2010 02:02


All times are GMT +2. The time now is 10:55.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.