Hi,
I am using the function rbf_formatDate to format a given date using a format I am getting from the available ones in the setting page of user. (Settings>My Settings> Field Date format), i.e these :
The format of "2015-Feb-18 14:12" is "yyyy-MMM-dd hh:mm".
This format as we can see is available in Rollbase, but when we do this :
var myDate = new Date();
var formattedDate = rbf_formatDtae(myDate, "yyyy-MMM-dd") ;
formattedDate is : "2015-0505-18". (We are truncating the time too).
Any ideas why this format is not recognized by rbf_formatDate ?
Thank you
Meryem
rbf_formatDate only supports a handful of formats and unfortunately this is not one of them. We have a long pending issue on this function which we plan to get to may be in the next release.
Hi Meryk,
Found an existing similar thread to this HERE and tracking defect as PSC00315336 which was filed from the previous thread.
Regards,
Orchid
Hi guys,
Thanks for the reply Manooj, This is what we thought it would be.
Orchid, yes I haven't pointed out this similar existing thread before posting my question. Thank you :)
Regards,
Meryem