Comments (2)
Turns out this is happening because of the date object... I have to stop parsing to milliseconds, and then converting that back to a date.
from schenda.
My solution:
var array = duedate.split("-");
var duedate = array[1] + "/" + array[2] + "/" + array[0];
var da = duedate;
This seemed to do the trick. However, if there might be some dates that I have missed, so I am going to keep this issue open until I can locate all errors.
from schenda.
Related Issues (20)
- Autosave for Notes HOT 1
- Textarea on edit note not operating correctly.
- Remove pretty URL's for tasks. HOT 1
- Export Markdown to PDF
- Add update classname functionality
- Description not being added to projects.
- Correct Remove Method in ClassController
- Task Completion Still Having Errors
- Tasks not appearing in project pages.
- Make controller code more concise
- Uncaught TypeError: Cannot set property 'className' of null
- Duedates are being saved in the wrong order
- Use built in updated and created at db attributes for notes
- Add Exam Functionality
- Note preview tab
- Automatic note preview rendering
- Upcoming Task Recognition
- Sort tasks by date due
- Issue with sorting... Crap
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from schenda.