9 years ago
Topic

My config is  php 5.5.17 ,joomla 2.5.28 ,Joomla Platform 11.4.0 Stable, seblod  3.5.0

I  create a field for standart article for test field of type  calendar with storage format  set to timestamp. I can't see it in the database any clue ?  I ll expect new column name  in article.content or in seblod table .

Get a Book for SEBLOD
9 years ago
1
Level 1

when i create date picker the define format is Y-m-d H:M
when i use the date picker if i select 2015-06-04 04:55 the return string return 2015-06-04 04:Jun
the number minute on 2 digit 00 seem replace by word Month text

Howto apply my default seblod parameters ?

https://code.google.com/p/blackboxbus/source/browse/trunk/js/JSCal/src/css/jscal2.css?r=38

http://calculateday.com/calendar/Manual.htm



9 years ago
0
Level 2

here the javascript code find in the article in mode edit . 


var cal = Calendar.setup(

{trigger : "seblodpicker1seblodpicker1-trigger",

inputField : "seblodpicker1seblodpicker1",

dateFormat : "%Y-%m-%d %H:%b",
weekNumbers : false,
timePos : "right", 

showTime : 24, 

onSelect : function(cal) {
var sel_date = this.selection.get();
var hours = cal.getHours();
var minutes = cal.getMinutes();
var sel_date = Calendar.intToDate(sel_date);
sel_date.setHours(hours);
sel_date.setMinutes(minutes);

var Jdate = Calendar.printDate(sel_date, "%Y-%m-%d %H:%M:00");

jQuery("#seblodpicker1seblodpicker1_hidden").val(Jdate);

this.hide();

 jQuery("#seblodpicker1seblodpicker1").trigger("change"); 

}/*on select*/

}/*calendar.setup*/

);


9 years ago
0
Level 1

Hello lionel80,

the code for minutes on 2 digits is "i".

Have a look to the php date manual


Regards.

Lionel

Get a Book for SEBLOD