<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 25, 2013 at 12:00 PM, Kasun Chathuranga <span dir="ltr"><<a href="mailto:chathuranga.jayaneththi@gmail.com" target="_blank">chathuranga.jayaneththi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Tue, Apr 23, 2013 at 11:51 PM, Kasun Chathuranga <span dir="ltr"><<a href="mailto:chathuranga.jayaneththi@gmail.com" target="_blank">chathuranga.jayaneththi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 23, 2013 at 5:51 PM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 2013-04-22 23:06, Kasun Chathuranga a écrit :<br>
<div>> Hi all,<br>
><br>
> I am interested in the feature request #1397 [1], which requests that<br>
> phpMyAdmin support fractional seconds in time, datetime and timestamp<br>
> data types.<br>
><br>
> After bit of research I found that these data types support trailing<br>
> fractional seconds up to microseconds (6 digits). For example, the<br>
> syntax for datetime including fractional seconds would be '2013-04-23<br>
> 11:21:07.145236'. This syntax is supported from version 5.0 [2], however<br>
> the fractional seconds were discarded when storing. From version 5.6.4<br>
> onwards these fractional seconds are stored and hence this feature<br>
> request is important.<br>
><br>
> I have looked into the code to implement this feature request and the<br>
> major problem faced is the incompatibility of JavaScript timepicker used<br>
> [4], which only supports up to milliseconds (3 digits). I have been<br>
> improving this JS file to support microseconds, however it is a somewhat<br>
> big change.<br>
><br>
> I'd like to know whether I should simply alter the external JS file in<br>
> phpMyAdmin code or I should send a pull request to the timepicker<br>
> project, so it will be a part of the timepicker project as well.<br>
> However, with the second option it might take some time till they<br>
> (hopefully) accept the patch and do a release containing it.<br>
<br>
</div>Kasun,<br>
I think it's best to send them a pull request, asking them about their<br>
release plans. Forking their library in phpMyAdmin is problematic for<br>
maintenance.<br>
<br></blockquote></div><br></div></div></div><div class="gmail_extra">I have submitted a pull request here [1]. Eagerly waiting to see what their reaction is :)<br><br>[1] <a href="https://github.com/trentrichardson/jQuery-Timepicker-Addon/pull/577" target="_blank">https://github.com/trentrichardson/jQuery-Timepicker-Addon/pull/577</a><span><font color="#888888"><br clear="all">
</font></span></div><span></span><br clear="all"></div></blockquote><div> </div></div></div></div>My pull request has been merged to the code base with some modifications and it will be included in their next release. I will implement the functionality in phpMyAdmin code if this release happens soon.<br>
<br clear="all"></div></div></blockquote><div>Version 1.3 of the timepicker which contains this code has been released [1] and I will be working on implementing the feature request.<br></div></div><br>[1] <a href="http://trentrichardson.com/examples/timepicker/jquery-ui-timepicker-addon.js">http://trentrichardson.com/examples/timepicker/jquery-ui-timepicker-addon.js</a><br>
<br>-- <br><div dir="ltr"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
Regards<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
Kasun Chathuranga</div></div>
</div></div>