Syntax error in templates/base/scripts/BxBaseConfig.php

This error occurs on four separate lines.  Below is the code as it is written in BxBaseConfig.php

plugi2n_insertdate_dateFormat : "%Y-%m-%d",

plugi2n_insertdate_timeFormat : "%H:%M:%S",

 

Below, is how it should read:

plugin_insertdate_dateFormat : "%Y-%m-%d",

plugin_insertdate_timeFormat : "%H:%M:%S",

 

This affects the insert date/time functions in the TinyMCE editor, and unless corrected, will not allow changing the format of the date.time that is inserted in the editor.

 

Edit: I'd add a ticket to track for this, but since there is no 7.0.6 milestone, and 7.0.x is a repository for things Boonex doesn't consider important, and 7.1 is probably a year away, I am at a loss as to where to add a ticket.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 11 Feb 2011

For those of you that care, below is the list of replacement variables that you can use to format the date & time inserted by TintMCE, after the above corrections have been made. (You'll have to delete the files in /cache_public)

 

Name Summary
%D mm/dd/yy (same as %m/%d/%y)
%r 12-hour clock time hh:mm:ss with AM or PM (same as %I:%M:%S %p)
%y year as a decimal number without a century (range 00 to 99)
%Y year as a decimal number including the century
%m month as a decimal number (range 01 to 12)
%B full localised month name (e.g. "January")
%b abbreviated localised month name (e.g. "Jan")
%d day of the month as a decimal number (range 01 to 31)
%A full localised weekday name (e.g. "Monday")
%a abbreviated localised weekday name (e.g. "Mon")
%H hour as a decimal number using a 24-hour clock (range 00 to 23)
%I hour as a decimal number using a 12-hour clock (range 01 to 12)
%M minute as a decimal number (range 00-59)
%S second as a decimal number (range 00-59)
%p either "am" or "pm" according to the given time value
%% a literal "%" character
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 11 Feb 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.