Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
228a5e70
Commit
228a5e70
authored
Jun 01, 2000
by
Peter Mount
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed timezone in ResultSet.getTimestamp()
parent
5abea5fe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
src/interfaces/jdbc/CHANGELOG
src/interfaces/jdbc/CHANGELOG
+3
-0
src/interfaces/jdbc/org/postgresql/jdbc1/ResultSet.java
src/interfaces/jdbc/org/postgresql/jdbc1/ResultSet.java
+1
-1
src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java
src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java
+1
-1
No files found.
src/interfaces/jdbc/CHANGELOG
View file @
228a5e70
Thu Jun 01 07:26:00 BST 2000 petermount@it.maidstone.gov.uk
- Removed timezone in getTimestamp() methods in ResultSet.
Mon May 15 22:30:00 BST 2000 peter@retep.org.uk
- Fixed the message Makefile produces after compiling. It still said
about the old Driver class, not the new package. Spotted by
...
...
src/interfaces/jdbc/org/postgresql/jdbc1/ResultSet.java
View file @
228a5e70
...
...
@@ -437,7 +437,7 @@ public class ResultSet extends org.postgresql.ResultSet implements java.sql.Resu
if
(
s
==
null
)
return
null
;
SimpleDateFormat
df
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss
zzz
"
);
SimpleDateFormat
df
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
try
{
return
new
Timestamp
(
df
.
parse
(
s
).
getTime
());
...
...
src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java
View file @
228a5e70
...
...
@@ -439,7 +439,7 @@ public class ResultSet extends org.postgresql.ResultSet implements java.sql.Resu
if
(
s
==
null
)
return
null
;
SimpleDateFormat
df
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss
zzz
"
);
SimpleDateFormat
df
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
try
{
return
new
Timestamp
(
df
.
parse
(
s
).
getTime
());
...
...
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