projects
/
tricorder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
3ad3aa7
)
add a comment about stardate rules
author
Robert Kaiser
<robert@widebook.box.kairo.at>
Sat, 11 Oct 2014 21:04:05 +0000
(23:04 +0200)
committer
Robert Kaiser
<robert@widebook.box.kairo.at>
Sat, 11 Oct 2014 21:04:05 +0000
(23:04 +0200)
js/tricorder.js
patch
|
blob
|
blame
|
history
diff --git
a/js/tricorder.js
b/js/tricorder.js
index de33ae3a630e2c2eed70a95e946c314aea24b8fd..dbd188d93bb5ae05ff326113bb7ab5e70f4a9c3d 100644
(file)
--- a/
js/tricorder.js
+++ b/
js/tricorder.js
@@
-40,6
+40,10
@@
window.onresize = function() {
}
function updateStardate() {
+ // Stardate rules foggy at best. See http://en.wikipedia.org/wiki/Stardate
+ // and the Memory Alpha article linked there for more details.
+ // We roughly lean on TNG scale by splitting an Earth year into exactly 1000
+ // units, but we put the 0 point at the TV premiere of The Original Series.
if (!gStardate)
gStardate = document.getElementById("stardate");