Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #29220
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2016-01-10 14:49 -0800 |
| References | <ccc15821-924d-4141-b93e-400deb65a63b@googlegroups.com> <291404b9-7d4c-4c14-98d8-d82e0164e29b@googlegroups.com> <473a3ab3-1f5c-4bae-9e0b-63ebc92f9826@googlegroups.com> |
| Message-ID | <8c134aa2-003f-46ad-af66-3bc2e4cba4df@googlegroups.com> (permalink) |
| Subject | Re: about-time Time, Duration, and TimeSpan library updated |
| From | "Michael Haufe (TNO)" <tno@thenewobjective.com> |
On Sunday, January 10, 2016 at 4:53:43 AM UTC-6, Simon Blackwell wrote: > Under the assumption you are or could be a user, this matters. We have not had to deal with it for our clients. I would not be one of your clients. I already have a library for date and time manipulation based on the efforts of J.R. Stockton[1] and others. > It would seem the best place to add this capability would be Time, by changing its constructor signature to Time(value,precision="ms",calendar="G"). > > We could also have a method Time.prototype.toCalendar(calendar,modify=true) which would return a modified or new Time converted from the current calendar to the new one. > > Would the above be adequate? That would depend on your target usage and library consumers. > Are there calendars other than Julian and Gregorian you think we should support, e.g Hebrew? Personally, I am indifferent. Have you compared your library to others in use in JavaScript at this point? > Finally, if you have to prioritize features which would you want: > > 1) calendar conversion > 2) time service synch capability, i.e. ensure accurate time for the local compute context > 3) time zone conversions #2 seems a strange feature. Do you have an example? [1]<https://web.archive.org/web/20150514050046/http://www.merlyn.demon.co.uk/contents.htm#dat>
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
about-time Time, Duration, and TimeSpan library updated Simon Blackwell <syblackwell@anywhichway.com> - 2016-01-09 06:16 -0800
Re: about-time Time, Duration, and TimeSpan library updated "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-01-09 16:32 -0800
Re: about-time Time, Duration, and TimeSpan library updated Simon Blackwell <syblackwell@anywhichway.com> - 2016-01-10 02:53 -0800
Re: about-time Time, Duration, and TimeSpan library updated "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-01-10 14:49 -0800
Re: about-time Time, Duration, and TimeSpan library updated Simon Blackwell <syblackwell@anywhichway.com> - 2016-01-11 14:41 -0800
Re: about-time Time, Duration, and TimeSpan library updated Dr J R Stockton <reply1600@merlyn.demon.co.uk.invalid> - 2016-01-11 20:57 +0000
csiph-web