For a couple of reasons I've updated my Gregorian Date Library and its demo sources. The most important modification is due to a bug in Windows XP (maybe Vista too, I don't know). The system returns a wrong "long" date through the GetDateFormat API when using the Locale Identifier (LCID) for Cataluña = 1027. Windows uses the forward slash here, which is in fact the separator for the short date. This is what XP returns: "dissabte, 23 / febrer/ 2008". I've corrected that in the library's function GregLongDate. So this Catalonian long date is now shown as "dissabte, 23 de febrer de 2008" and when a month name starts with an a (for instance: abril) it is: "d'abril de 2008".
Also I have 2 separate functions now for a long date and a short date:
This was necessary because a 2-digit year prior to 1601 was not correctly returned by the GregDateFormat function. You can download it here: http://zijlema.basicguru.eu/files/gregorian.zip
Also I have 2 separate functions now for a long date and a short date:
- GregLongDate
- GregShortDate
This was necessary because a 2-digit year prior to 1601 was not correctly returned by the GregDateFormat function. You can download it here: http://zijlema.basicguru.eu/files/gregorian.zip
Comment