Ignore:
Timestamp:
Feb 4, 2009, 3:42:17 AM (15 years ago)
Author:
rvelices
Message:

merge r3122 from trunk

  • removed second parameter $type from function format_date
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/include/functions.inc.php

    r3118 r3123  
    570570
    571571// format_date returns a formatted date for display. The date given in
    572 // argument can be a unixdate (number of seconds since the 01.01.1970) or an
    573 // american format (2003-09-15). By option, you can show the time. The
    574 // output is internationalized.
     572// argument must be an american format (2003-09-15). By option, you can show the time.
     573// The output is internationalized.
    575574//
    576 // format_date( "2003-09-15", 'us', true ) -> "Monday 15 September 2003 21:52"
    577 function format_date($date, $type = 'us', $show_time = false)
     575// format_date( "2003-09-15", true ) -> "Monday 15 September 2003 21:52"
     576function format_date($date, $show_time = false)
    578577{
    579578  global $lang;
Note: See TracChangeset for help on using the changeset viewer.