Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scheduler-3387331
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
scheduler-3387331
Commits
c02c83d1
Commit
c02c83d1
authored
16 years ago
by
Eric-Alexander Schaefer
Browse files
Options
Downloads
Patches
Plain Diff
#263906
by krishnap: Compatibility with PHP4 (Release 5.x-1.14 used a PHP5-only function)
parent
060e8c27
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scheduler.module
+1
-1
1 addition, 1 deletion
scheduler.module
with
1 addition
and
1 deletion
scheduler.module
+
1
−
1
View file @
c02c83d1
...
...
@@ -154,7 +154,7 @@ function _scheduler_date_format_in_strftime_syntax() {
function
_scheduler_get_jscalendar_time_format
()
{
$date_format
=
variable_get
(
'scheduler_date_format'
,
SCHEDULER_DATE_FORMAT
);
$result
=
str
i
pos
(
$date_format
,
"a"
);
$result
=
strpos
(
$date_format
,
stristr
(
$date_format
,
"a"
)
)
;
return
(
$result
!==
FALSE
)
?
'12'
:
'24'
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment