SCM

[#1011012] Australian Date and Time Formats

View Trackers | Patches | Download .csv | Monitor

Date:
2011-04-04 16:28
Priority:
3
State:
Open
Submitted by:
Hans Peter (jd185152)
Assigned to:
Nobody (None)
Category:
Group:
Resolution:
None
 
Summary:
Australian Date and Time Formats

Detailed description
Npgsql does not support the australian date and time format. The following small patch should resolve this issue.

The lines in question can be found in NpgsqlTypes.cs (the code lines starting with ‘+’ must be added)

@ line 52:

"HH:mm:ss.ffffff", "HH:mm:ss", "HH:mm:ss.ffffffzz", "HH:mm:sszz", "HH:mm:ss.fffff", "HH:mm:ss.ffff", "HH:mm:ss.fff", "HH:mm:ss.ff",
"HH:mm:ss.f", "HH:mm:ss.fffffzz", "HH:mm:ss.ffffzz", "HH:mm:ss.fffzz", "HH:mm:ss.ffzz", "HH:mm:ss.fzz",

+ "HH:mm:ss.fffffzzz", "HH:mm:ss.ffffzzz", "HH:mm:ss.fffzzz", "HH:mm:ss.ffzzz",
+ "HH:mm:ss.fzzz", "HH:mm:sszzz"

@ line 61:

"yyyy-MM-dd HH:mm:ss.fffff", "yyyy-MM-dd HH:mm:ss.ffff", "yyyy-MM-dd HH:mm:ss.fff", "yyyy-MM-dd HH:mm:ss.ff",
"yyyy-MM-dd HH:mm:ss.f", "yyyy-MM-dd HH:mm:ss.fffffzz", "yyyy-MM-dd HH:mm:ss.ffffzz", "yyyy-MM-dd HH:mm:ss.fffzz",
"yyyy-MM-dd HH:mm:ss.ffzz", "yyyy-MM-dd HH:mm:ss.fzz",

+ "yyyy-MM-dd HH:mm:ss.fffffzzz", "yyyy-MM-dd HH:mm:ss.ffffzzz", "yyyy-MM-dd HH:mm:ss.fffzzz",
+ "yyyy-MM-dd HH:mm:ss.ffzzz", "yyyy-MM-dd HH:mm:ss.fzzz", "yyyy-MM-dd HH:mm:sszzz"

Followup

Message
Date: 2011-04-05 14:13
Sender: Francisco Figueiredo jr.


Patch applied. Thanks!

Attached Files:

Changes:

No Changes Have Been Made to This Item

Powered By FusionForge