Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #8507
| Message-ID | <1544047.qVoOGUtdWV@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2011-11-21 11:11 +0100 |
| Subject | Re: getday() doesn't agree with system clock |
| Newsgroups | comp.lang.javascript |
| References | <thqjc7tjcififr5ms9bbrs7v46ivmopfj6@4ax.com> <3002626.SPkdTlGXAF@PointedEars.de> |
| Followup-To | comp.lang.javascript |
Followups directed to: comp.lang.javascript
Thomas 'PointedEars' Lahn wrote:
> Swifty wrote:
>> it matches the system clock to within 300mS at the very least (judged by
>
> The prefixed time unit "millisecond" is written `ms' in the Système
> international d’unités (SI), _not_ `mS'. There should be a (if possible,
> thin, non-breaking) space between number and unit: `300 ms'.
>
> <http://en.wikipedia.org/wiki/International_System_of_Units>
I have confused the use of the U+2009 THIN SPACE character. It is _not_ to
be written between number and unit, but "for numbers with many digits the
digits may be divided into groups of three by a thin space, in order to
facilitate reading. Neither dots nor commas are inserted in the spaces
between groups of three." [1]
However, it appears to be prudent to use the U+00A0 NO-BREAK SPACE character
to separate the number and its unit, if possible. (The U+202F NARROW NO-
BREAK SPACE character is too narrow to show the multiplication that the
U+0020 SPACE character is supposed to convey there.)
PointedEars
___________
[1] The International System of Units (SI) (8 ed.). International Bureau of
Weights and Measures (BIPM). 2006. pp. 134–135. Available at
<http://www.bipm.org/utils/common/pdf/si_brochure_8_en.pdf> [online].
Retrieved on 2011-11-21.
--
Danny Goodman's books are out of date and teach practices that are
positively harmful for cross-browser scripting.
-- Richard Cornford, cljs, <cife6q$253$1$8300dec7@news.demon.co.uk> (2004)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
getday() doesn't agree with system clock Swifty <steve.j.swift@gmail.com> - 2011-11-21 06:19 +0000
Re: getday() doesn't agree with system clock Denis McMahon <denismfmcmahon@gmail.com> - 2011-11-21 08:49 +0000
Re: getday() doesn't agree with system clock Swifty <steve.j.swift@gmail.com> - 2011-11-21 13:19 +0000
Re: getday() doesn't agree with system clock Elegie <elegie@anonymous.invalid> - 2011-11-21 09:53 +0100
Re: getday() doesn't agree with system clock Scott Sauyet <scott.sauyet@gmail.com> - 2011-11-21 05:25 -0800
Re: getday() doesn't agree with system clock Elegie <elegie@anonymous.invalid> - 2011-11-21 19:45 +0100
Re: getday() doesn't agree with system clock Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-21 10:20 +0100
Re: getday() doesn't agree with system clock Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-21 11:11 +0100
Re: getday() doesn't agree with system clock SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2011-11-21 10:43 +0100
Re: getday() doesn't agree with system clock Dr J R Stockton <reply1147@merlyn.demon.co.uk> - 2011-11-22 20:05 +0000
Re: getday() doesn't agree with system clock Swifty <steve.j.swift@gmail.com> - 2011-11-23 05:24 +0000
Re: getday() doesn't agree with system clock Zlatko Đurić <zladuric@gmail.com> - 2011-11-23 22:30 +0100
Re: getday() doesn't agree with system clock Swifty <steve.j.swift@gmail.com> - 2011-11-24 06:15 +0000
csiph-web