I encountered an issue while trying to use datejs in Chrome as it doesn't seem to work properly.
Is there a workaround for this problem if I still want to utilize this library?
If not, can anyone recommend an excellent alternative date library that I could use instead?
Thank you in advance.
After downloading the full version of datejs from https://code.google.com/p/datejs/downloads/list, I noticed that the included test functions worked perfectly in Chrome.
However, I am confused as to why it is not functioning correctly in Chrome when incorporated into my project's code.
Below is a snippet of my code:
<!DOCTYPE html>
<html>
<head lang="en">
<script src="js/date.js" type="text/javascript"></script>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<script>
console.log(Date.today());
</script>
</body>
</html>
When running this code snippet in Chrome and FireFox, I received the following error message:
TypeError: Date.today is not a function