Den 2012-01-03 21:34 skrev Claudio Valderrama C. såhär: > Hello, in the tracker, Paul Vinkenoog wrote: > > "BTW, please be aware that Firebird's WEEKDAY is not ISO-8601 compliant: it > returns 0 for Sunday instead of 7." > > Hmm, what else is not ISO compliant in our routines? There are two ways to > deal with this: > - create other options with "ISO" appended to the name, for example > WEEKDAY_ISO > - create another infamous conf param (legacy_something) that will be > declared obsolete in two versions more, but this is always a trap for > applications when someone changes the param that has global effect.
The Excel way to solve this is to have a param that defines which numbering scheme to use, and have that param default to "something". FB could do the same, preferably defaulting to ISO 8601, even though that would not, apparently, be backwards compatible. Kjell -- -------------------------------------- Kjell Rilbe DataDIA AB E-post: kj...@datadia.se Telefon: 08-761 06 55 Mobil: 0733-44 24 64 ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel