Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » TimeDate.cpp [BUG][FIXED]
BugFixedDead.gif  TimeDate.cpp [BUG][FIXED] [message #2746] Mon, 24 April 2006 09:15 Go to next message
coolman is currently offline  coolman
Messages: 114
Registered: April 2006
Location: Czech Republic
Experienced Member
There is a mistake in definition of DayName definition (DyName too)

Original:
String DayName(int i, int lang)
{
  static char *day[] = {
  tt_("date\vSaturday"),
  tt_("date\vMonday"),
  tt_("date\vTuesday"),
  tt_("date\vWednesday"),
  tt_("date\vThursday"),
  tt_("date\vFriday"),
  tt_("date\vSunday")
  };

return i >= 0 && i < 7 ? Nvl(GetLngString(lang, day[i]), GetENUS(day[i])) : String();
}


New:
...
  static char *day[] = {
  tt_("date\vSunday"),
  tt_("date\vMonday"),
  tt_("date\vTuesday"),
  tt_("date\vWednesday"),
  tt_("date\vThursday"),
  tt_("date\vFriday"),
  tt_("date\vSaturday")
  };
...

[Updated on: Wed, 03 May 2006 19:45] by Moderator

Report message to a moderator

Re: TimeDate.cpp [message #2757 is a reply to message #2746] Mon, 24 April 2006 16:30 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Ooops, thanks!

Mirek
Previous Topic: Is there a token function?
Next Topic: NTL and C4251
Goto Forum:
  


Current Time: Wed Apr 17 01:21:50 CEST 2024

Total time taken to generate the page: 0.01627 seconds