On Tue, 22 Jul 2003, Ben Bennett wrote: > However I have a few questions I want to get resolved first: > > 1) Will DateTime 0.14 be the first release with locale support? If > so, when will you be bumping the version number (do you usually do > that just before release?) I need that version of DateTime as a > dependency.
Yes, and yes. I'll be releasing this stuff soon, I think. > 2) Can I add the sub _date_parts_order to the locales? I have the > patch to generate_from_icu that does this if you want to see it. Sure, go ahead, but make it "date_parts_order". It'll be public, after all. > Longer term questions (these can be resolved after an initial > checkin): > > 3) I think I need to have additional per-locale information > (i.e. AD/BC, AM/PM and now, today, and +- infinity). While AD/BC > and AM/PM are in the current locale files I don't think they are > in a useful form since there are too many permissible variations. So you plan to customize this for every locale? Ambitious. > So, I propose to per-locale additional information. However, I am > not sure if it makes sense to augment the DT::Locale files or to > have a separate DT::F::C::Locale tree. It might be wise to allow > for additional day and month name variations too. Obviously it > should default to the DT::Locale stuff whenever possible. It almost certainly belongs in the DT::Locale code. I'll come up with a way to hook in our extra data to the generation process. There's already something in the generator to override the ICU stuff when it's wrong, so it shouldn't be too hard. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
