- bugfix: sunday was always the first day of week in duedate calendar

This commit is contained in:
Max Pozdeev 2011-01-07 14:23:49 +03:00
parent 4287972852
commit 7017ac8b9d
2 changed files with 3 additions and 1 deletions

View file

@ -51,7 +51,8 @@ var mytinytodo = window.mytinytodo = _mtt = {
singletab: false,
autotag: false,
tagPreview: true,
saveShowNotes: false
saveShowNotes: false,
firstdayofweek: 1
},
timers: {

View file

@ -45,6 +45,7 @@ $().ready(function(){
showdate: <?php echo (Config::get('showdate') && !isset($_GET['pda'])) ? "true" : "false"; ?>,
singletab: <?php echo (isset($_GET['singletab']) || isset($_GET['pda'])) ? "true" : "false"; ?>,
duedatepickerformat: "<?php echo htmlspecialchars(Config::get('dateformat2')); ?>",
firstdayofweek: <?php echo (int) Config::get('firstdayofweek'); ?>,
autotag: <?php echo Config::get('autotag') ? "true" : "false"; ?>
<?php if(isset($_GET['list'])) echo ",openList: ". (int)$_GET['list']; ?>
}).loadLists(1);