Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9af564a

Browse files
author
Thomas G. Lockhart
committed
Add parser category for "DST" Daylight Savings Time qualifier on time zones.
1 parent3cef45d commit9af564a

File tree

1 file changed

+15
-13
lines changed
  • src/include/utils

1 file changed

+15
-13
lines changed

‎src/include/utils/dt.h

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* Copyright (c) 1994, Regents of the University of California
1010
*
11-
* $Id: dt.h,v 1.10 1997/06/03 14:07:24 thomas Exp $
11+
* $Id: dt.h,v 1.11 1997/06/20 17:15:00 thomas Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -111,26 +111,28 @@ typedef struct {
111111
#defineTIME4
112112
#defineTZ5
113113
#defineDTZ6
114-
#defineIGNORE7
115-
#defineAMPM8
116-
#defineHOUR9
117-
#defineMINUTE10
118-
#defineSECOND11
119-
#defineDOY12
120-
#defineDOW13
121-
#defineUNITS14
122-
#defineADBC15
114+
#defineDTZMOD7
115+
#defineIGNORE8
116+
#defineAMPM9
117+
#defineHOUR10
118+
#defineMINUTE11
119+
#defineSECOND12
120+
#defineDOY13
121+
#defineDOW14
122+
#defineUNITS15
123+
#defineADBC16
123124
/* these are only for relative dates */
124-
#defineABS_BEFORE14
125-
#defineABS_AFTER15
126-
#defineAGO16
125+
#defineAGO17
126+
#defineABS_BEFORE18
127+
#defineABS_AFTER19
127128

128129
/*
129130
* Token field definitions for time parsing and decoding.
130131
* These need to fit into the datetkn table type.
131132
* At the moment, that means keep them within [-127,127].
132133
* These are also used for bit masks in DecodeDateDelta()
133134
* so actually restrict them to within [0,31] for now.
135+
* - tgl 97/06/19
134136
*/
135137

136138
#defineDTK_NUMBER0

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp