Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
Posts: 23
Registered: ‎05-11-2011
My Device: 9800 BOLD
My Carrier: Videotron

Datetime on Playbook Sim

Hi folks,

 

I don't know why (for the moment) but when I select a datetime field in a SQLite database

on the Playbook sim the date part of the field return "%#x" (the time part is Ok). This is

weird because when I run my code on the 9800 simulator the date part  show the

right data. This is my  variable declaration and use.

 

 var dt = new Date(item.PageDerniereModif);

dt.toLocaleDateString() + " " + dt.toLocaleTimeString()

 

How I can fix this...may I have to change a setting on the Playbook sim or

on my computer (French Canadian)

 

Any tip will be very appreciate