Hi all,
Sorry for the delay.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=497780

Regards,
Sam

De : pdt-dev-boun...@eclipse.org [mailto:pdt-dev-boun...@eclipse.org] De la 
part de Michal Niewrzal
Envoyé : lundi 23 mai 2016 11:30
À : PDT Developers (pdt-dev@eclipse.org)
Objet : [pdt-dev] Content assist on DateTime


Hi,



Thanks for info. Please fill bug report on bugzilla: 
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=PDT

Regards,
Michal
________________________________
Od: pdt-dev-boun...@eclipse.org<mailto:pdt-dev-boun...@eclipse.org> 
<pdt-dev-boun...@eclipse.org<mailto:pdt-dev-boun...@eclipse.org>> w imieniu 
użytkownika samuel.che...@orange.com<mailto:samuel.che...@orange.com> 
<samuel.che...@orange.com<mailto:samuel.che...@orange.com>>
Wysłane: 23 maja 2016 11:09
Do: PDT Developers (pdt-dev@eclipse.org<mailto:pdt-dev@eclipse.org>)
Temat: [pdt-dev] Content assist on DateTime


Hi guys,





I experience weird behaviour with content assist on DateTime objects.



$startDate = DateTime::createFromFormat('Y-m-d, $myDate);

               ^^^^^^^^   ^^^^^^^^^^^^^^^^ content assist work here



$startDate->format();

              ^^^^^^ content assist do not work here



Project PHP Interpreter is set to PHP 5.4. DateTime::createFromFormat was 
introduced in 5.3

I tested with PHP Interpreter 5.5 and 7 but none is working.

Eclipse mars 4.5.2 & PDT 3.7.0.201602121754



To my opinion PHPDoc of the createFromFormat prototype is missing @return 
statement :

/**

       * Returns new DateTime object formatted according to the specified format

       * @link http://www.php.net/manual/en/datetime.createfromformat.php

       * @param $format

       * @param $time

       * @param $object [optional]

       */

       public static function createFromFormat ($format, $time, $object = null) 
{}





Should I file a bug report somewhere ?





Regards

_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.



This message and its attachments may contain confidential or privileged 
information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete 
this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.

Thank you.

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

_______________________________________________
pdt-dev mailing list
pdt-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/pdt-dev

Reply via email to