I'm using moment.js to format a date I get from the db service.
It works fine if I test the app in the browser but doesn't work if I test my app on the phone.
var availableAtDate = moment(new Date(newData.availableAt)).calendar();
Any thoughts?
I'm using moment.js to format a date I get from the db service.
It works fine if I test the app in the browser but doesn't work if I test my app on the phone.
var availableAtDate = moment(new Date(newData.availableAt)).calendar();
Any thoughts?
Appery support - Did you guys get a chance to look at this? Seems like two people are having the same problem.
Thanks Bruce. I appreciate it.
I put this bug on hold and started working on some other bugs. I'll try the solution out when I get back to this one.
Yes I'm sending a LatLng object.
codenew google.maps.LatLng(44.983206, -93.265909)/code
Hi,
I'm trying to show some markers on the map and I need it to center to a marker.
I tried 1) map.PanTo 2) map.setCenter 3) Tried setting the center in options 4) Tried doing a map.refresh() on page show.
None of the solutions work for me.
I'm trying to use moment.js in my script but get a 'Uncaught ReferenceError: moment is not defined' error. I made sure that it was present in the libraries under Server Code. What am I doing wrong?