Jump to content


Photo

FormatDateTime fails for 'mmmm'


  • Please log in to reply
No replies to this topic

#1 field

field
  • Members
  • 10 posts

Posted 30 December 2016 - 04:02 PM

Hi,

 

SMS 2.2.2.4543:

 

 

the compiler-magic function FormatDateTime () is incorrectly implemented:

 

[js]

function FormatDateTime(fmt, v, u) {

...

case "mmmm": res+=fmtLongMonthNames[dt.getUTCMonth()]; break;

 

 

this is incorrect - it should be:

case "mmmm": res+=$fmt.LongMonthNames[dt.getUTCMonth()]; break;

 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users