Overview
| Artifact ID: | c60a0a13d7f275dd216812144e08b5d6ea887952 |
|---|---|
| Ticket: | 219152ffffffffffffffffffffffffffffffffff
clock format - use Control Panel %X, %x, %c |
| User & Date: | kennykb on 2001-02-15 22:28:28 |
Changes
- icomment:
Thanks for the patch. I'm looking into the localization issues now. I probably won't use the patch verbatim, because I'm reluctant to copy all that logic from strftime.c into separate Mac, Windows and Unix versions. I'm hoping instead, to have a single strftime, and a single getdate, with system-specific stubs inserted only where necessary. Otherwise, keeping the documentation for [clock] in sync with the code on the various platforms is going to be tricky. (It's badly out of step already. My first task is to bring it up to date with what the existing code actually does.) I'm also concerned that strftime and getdate stay in sync. It should ALWAYS be possible to do [clock scan [clock format [clock seconds]]] and get the same answer back. Ideally, the default [clock format] should even be portable among locales. Some of this will mean that the English short-names for months will have to be recognized in every locale. (That's a good thing anyway, for parsing e-mail time stamps.) I'll stay in touch. Can I prevail upon you to do Mac testing with what I come up with? (I currently work in a "Mac-free environment.")
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"