Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-timesheet2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-timesheet2
Commits
1c2e4ff0
Commit
1c2e4ff0
authored
Feb 10, 2012
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-- compatibility changes PostgreSQL 8.3
parent
7e7bea78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
intranet-absences-procs.tcl
tcl/intranet-absences-procs.tcl
+5
-5
No files found.
tcl/intranet-absences-procs.tcl
View file @
1c2e4ff0
...
...
@@ -75,8 +75,8 @@ ad_proc absence_list_for_user_and_time_period {user_id first_julian_date last_ju
set sql
"
-- Direct absences owner_id = user_id
select
to_char(start_date,'J
') as start_date,
to_char(end_date,'J
') as end_date,
to_char(start_date::text,'yyyy-mm-dd
') as start_date,
to_char(end_date::text, 'yyyy-mm-dd
') as end_date,
im_category_from_id(absence_type_id) as absence_type,
im_category_from_id(absence_status_id) as absence_status,
absence_id
...
...
@@ -657,14 +657,14 @@ ad_proc -public im_get_next_absence_link { { user_id } } {
}
{
set sql
"
select absence_id,
to_char(start_date,'yyyy-mm-dd') as start_date,
to_char(end_date, 'yyyy-mm-dd') as end_date
to_char(start_date
::text
,'yyyy-mm-dd') as start_date,
to_char(end_date
::text
, 'yyyy-mm-dd') as end_date
from
im_user_absences, dual
where
owner_id = :user_id and
group_id is null and
start_date >= to_date(sysdate,'yyyy-mm-dd')
start_date >= to_date(sysdate
::text
,'yyyy-mm-dd')
order by
start_date, end_date
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment