Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libxml2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
70
Issues
70
List
Boards
Labels
Service Desk
Milestones
Merge Requests
10
Merge Requests
10
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
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
GNOME
libxml2
Commits
8efc5b28
Commit
8efc5b28
authored
Sep 13, 2019
by
Nick Wellnhofer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
14:00 is a valid timezone for xs:dateTime
Closes
#100
parent
5a02583c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
test/schemas/date_0.xml
test/schemas/date_0.xml
+1
-0
xmlschemastypes.c
xmlschemastypes.c
+1
-1
No files found.
test/schemas/date_0.xml
View file @
8efc5b28
...
...
@@ -13,6 +13,7 @@
<dt1>
2000-05-18T00:00:00
</dt1>
<dt2>
2002-05-19T21:30:00.99
</dt2>
<dt1>
1969-12-31T23:00:01-01:00
</dt1>
<dt1>
2000-06-06T00:00:00+14:00
</dt1>
<hol>
--01-01
</hol>
<hol>
--07-04
</hol>
<hol>
--12-25
</hol>
...
...
xmlschemastypes.c
View file @
8efc5b28
...
...
@@ -1129,7 +1129,7 @@ xmlSchemaGetBuiltInListSimpleTypeItemType(xmlSchemaTypePtr type)
#define VALID_HOUR(hr) ((hr >= 0) && (hr <= 23))
#define VALID_MIN(min) ((min >= 0) && (min <= 59))
#define VALID_SEC(sec) ((sec >= 0) && (sec < 60))
#define VALID_TZO(tzo) ((tzo >
-840) && (tzo <
840))
#define VALID_TZO(tzo) ((tzo >
= -840) && (tzo <=
840))
#define IS_LEAP(y) \
(((y % 4 == 0) && (y % 100 != 0)) || (y % 400 == 0))
...
...
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