Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
hey out there,
we've run into bit of a problem using the umbraco date picker in a custom property editor that we're using in the back office.
everything loads correctly:
but when we select today's date, the format comes out incorrectly:
if we choose a date other than today's date, it appears to be happy:
this is the js we're using in our controller:
$scope.fromDate = { view: 'datepicker', config: { pickDate: true, pickTime: false, pick12HourFormat: false, format: 'yyyy-mm-dd' } };
any ideas as to why today's date would be causing such an issue?!
cheers,
jake
Hi Jake
You've probably figured this out by now but make the format string all caps and it should work:
$scope.fromDate ={ view:'datepicker', config:{ pickDate:true, pickTime:false, pick12HourFormat:false, format:'YYYY-MM-DD' }};
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
formatting issue using the umbraco date picker in a custom property editor
hey out there,
we've run into bit of a problem using the umbraco date picker in a custom property editor that we're using in the back office.
everything loads correctly:
but when we select today's date, the format comes out incorrectly:
if we choose a date other than today's date, it appears to be happy:
this is the js we're using in our controller:
any ideas as to why today's date would be causing such an issue?!
cheers,
jake
Hi Jake
You've probably figured this out by now but make the format string all caps and it should work:
is working on a reply...