summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-28 16:16:55 +0200
committerAlib <aliboba@free.fr>2010-03-28 16:16:55 +0200
commit4ccc452b74a3065a1e1ebb1b16fa1812398fa244 (patch)
tree9985782b00be5c187a69735a1056a9f773dc2c8c /js
parenteee1ca77ed0e10ebc89d7e9d467c45f773553b63 (diff)
downloadistreamdev-4ccc452b74a3065a1e1ebb1b16fa1812398fa244.tar.gz
istreamdev-4ccc452b74a3065a1e1ebb1b16fa1812398fa244.tar.bz2
change date format to xxxx/xx/xx
Diffstat (limited to 'js')
-rw-r--r--js/functions.js4
-rw-r--r--js/istreamdev.js4
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);