<div dir="ltr"><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 class="im">> 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 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">https://github.com/trentrichardson/jQuery-Timepicker-Addon/pull/577</a><br clear="all">
</div><div class="gmail_extra"><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>