Fixed problem with truncated date on CKEditor "Insert Timestamp" button

This commit is contained in:
2015-06-08 12:01:17 +02:00
parent c7d1f53594
commit a09ed01c82
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ CKEDITOR.plugins.add( 'timestamp', {
// Define the function that will be fired when the command is executed.
exec: function( editor ) {
var URL = "../../?cmd=gettimedate";
var URL = "./?cmd=gettimedate";
$.ajax({
url: URL,
+1 -1
View File
@@ -28875,7 +28875,7 @@ int process_http_request(const char *request, int i_conn)
strcpy(format, DEFAULT_TIME_FORMAT);
time(&now);
ts = localtime(&now);
my_strftime(str, sizeof(str), format, ts);
my_strftime(str, strsize, format, ts);
show_http_header(NULL, FALSE, NULL);
rsputs(str);
rsputs(" ");
@@ -7,7 +7,7 @@
<key>IDESourceControlProjectIdentifier</key>
<string>81431534-03C4-4F18-8910-AA341A0BBED2</string>
<key>IDESourceControlProjectName</key>
<string>elogd</string>
<string>project</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>4A8AA611133AD3F7E07C7C33DCF50244FB7A1AB5</key>
@@ -16,7 +16,7 @@
<string>bitbucket.org:ritt/elog.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>xcode/elogd.xcodeproj</string>
<string>xcode/elogd.xcodeproj/project.xcworkspace</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>4A8AA611133AD3F7E07C7C33DCF50244FB7A1AB5</key>