Re: Source changes

new topic     » goto parent     » topic index » view thread      » older message » newer message

Derek Parnell wrote:
> 
> Salix wrote:
> > 
> > I welcome the proposed routines as I regularly use similar ones. 
> > The only thing I am opposed to is the CamelCase routine names.
> > Euphoria (in general) doesn't use it.
> 
> You're correct. To be consistent the underscore names would be better.
> 
> > Could you write a few more words about the following ones? 
> > The most problems I have with these conversions. (Specially 
> > the lack of date and time functions.)
> 
> The commonly used date format is {YYYY,MM,DD, ...} but the Epoch form is also
> used. There are at least two good date-time libraries in the User
> Contributions
> section so I'd suggest that we combine the good aspects of those into a single
> officially-supported library.
>  
> I imagine that the formatting codes for format_date() and format_time() will
> be along the lines of the unix date command.
> 
> -- 
> Derek Parnell
> Melbourne, Australia
> Skype name: derek.j.parnell

What you say is true for UK/US aligned countries. Most Latin countries (France,
Spain, Italy...) use DD-MM-YY or -YYYY format. And if I remember correctly, Japan
uses another specific format.
As a result, locale-dependent routines are needed. Problem is, how will they
behave under DOS, where I am not sure that locales make sense at all?

Generally speaking, I fully approve the addition of one or two more include
files related to text<->number conversion and date/time formatting. Not that I
use them a lot, but they are useful to enough people around.
Hurray!
CChris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu