mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-05-18 22:01:42 -04:00
Fix same exception ebraminio did in moonradar.html
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
var Options;
|
||||
|
||||
function ParseDate(s) {
|
||||
return new Date(s.replace(' ', 'T')); // Safari doesn't like the space character
|
||||
return new Date((s || '').replace(' ', 'T')); // Safari doesn't like the space character
|
||||
}
|
||||
|
||||
function IsValidNumber(s) {
|
||||
|
||||
Reference in New Issue
Block a user