Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b20bb856
Commit
b20bb856
authored
May 06, 1999
by
Karl Heuer
Browse files
(timezone-parse-date): Recognize new format used in internet cookies.
parent
3ab93df3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lisp/timezone.el
lisp/timezone.el
+4
-0
No files found.
lisp/timezone.el
View file @
b20bb856
...
...
@@ -175,6 +175,10 @@ Understands the following styles:
"\\([0-9]+\\)[ \t]+\\([^ \t,]+\\)[ \t]+\\([0-9]+\\)[ \t]+\\([0-9]+\\)[ \t]*\\([-+a-zA-Z0-9]+\\)"
date
)
;; Styles: (4) with timezone
(
setq
year
3
month
2
day
1
time
4
zone
5
))
((
string-match
"\\([0-9]+\\)-\\([A-Za-z]+\\)-\\([0-9]+\\)[ \t]+\\([0-9]+:[0-9]+:[0-9]+\\)\\(\\.[0-9]+\\)?[ \t]+\\([-+a-zA-Z0-9]+\\)"
date
)
;; Styles: (5) with timezone.
(
setq
year
3
month
2
day
1
time
4
zone
6
))
((
string-match
"\\([0-9]+\\)-\\([A-Za-z]+\\)-\\([0-9]+\\)[ \t]+\\([0-9]+:[0-9]+:[0-9]+\\)\\(\\.[0-9]+\\)?"
date
)
;; Styles: (5) without timezone.
...
...
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