Need some help with date / time formats

Discussion in 'Developers' Forum' started by till, Feb 23, 2012.

  1. till

    till Super Moderator

    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
     
  2. edge

    edge HowtoForge Supporter

    Dutch is using the same format as German... Or are the Germans using the same as the Dutch ;-)
     

Share This Page