diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/functions.js | 4 | ||||
-rw-r--r-- | js/istreamdev.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/js/functions.js b/js/functions.js index 98609cd..9621612 100644 --- a/js/functions.js +++ b/js/functions.js @@ -36,8 +36,8 @@ function openSelectDate(timer_year,timer_month,timer_day) { function done_date() {
var results = SpinningWheel.getSelectedValues();
- document.getElementById('layer_date').innerHTML = results.values.join('-');
- document.timer.timer_date.value = results.values.join('-');
+ document.getElementById('layer_date').innerHTML = results.values.join('/');
+ document.timer.timer_date.value = results.values.join('/');
$('a').removeClass('active');
}
diff --git a/js/istreamdev.js b/js/istreamdev.js index 7628f5e..40f380e 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -856,8 +856,8 @@ function gen_edittimer(id,name,active,channumber,channame,date,starttime,endtime $('#timer_chan option[value="' + channumber + '"]').attr("selected", "selected");
$('#timer_date').val(date);
var wheeldate = date;
- while (wheeldate.indexOf("-") > -1)
- wheeldate = wheeldate.replace("-", ",");
+ while (wheeldate.indexOf("/") > -1)
+ wheeldate = wheeldate.replace("/", ",");
$('#a_date').attr('href', "javascript:openSelectDate(" + wheeldate + ");");
$('#layer_date').html(date);
$('#timer_starttime').val(starttime);
|