mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
- bugfix: sunday was always the first day of week in duedate calendar
This commit is contained in:
parent
4287972852
commit
7017ac8b9d
2 changed files with 3 additions and 1 deletions
|
|
@ -51,7 +51,8 @@ var mytinytodo = window.mytinytodo = _mtt = {
|
||||||
singletab: false,
|
singletab: false,
|
||||||
autotag: false,
|
autotag: false,
|
||||||
tagPreview: true,
|
tagPreview: true,
|
||||||
saveShowNotes: false
|
saveShowNotes: false,
|
||||||
|
firstdayofweek: 1
|
||||||
},
|
},
|
||||||
|
|
||||||
timers: {
|
timers: {
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,7 @@ $().ready(function(){
|
||||||
showdate: <?php echo (Config::get('showdate') && !isset($_GET['pda'])) ? "true" : "false"; ?>,
|
showdate: <?php echo (Config::get('showdate') && !isset($_GET['pda'])) ? "true" : "false"; ?>,
|
||||||
singletab: <?php echo (isset($_GET['singletab']) || isset($_GET['pda'])) ? "true" : "false"; ?>,
|
singletab: <?php echo (isset($_GET['singletab']) || isset($_GET['pda'])) ? "true" : "false"; ?>,
|
||||||
duedatepickerformat: "<?php echo htmlspecialchars(Config::get('dateformat2')); ?>",
|
duedatepickerformat: "<?php echo htmlspecialchars(Config::get('dateformat2')); ?>",
|
||||||
|
firstdayofweek: <?php echo (int) Config::get('firstdayofweek'); ?>,
|
||||||
autotag: <?php echo Config::get('autotag') ? "true" : "false"; ?>
|
autotag: <?php echo Config::get('autotag') ? "true" : "false"; ?>
|
||||||
<?php if(isset($_GET['list'])) echo ",openList: ". (int)$_GET['list']; ?>
|
<?php if(isset($_GET['list'])) echo ",openList: ". (int)$_GET['list']; ?>
|
||||||
}).loadLists(1);
|
}).loadLists(1);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue