mirror of
https://github.com/samsonjs/strftime.git
synced 2026-03-25 09:05:48 +00:00
Merge pull request #38 from w0den/patch-1
Improve detection of timezone name
This commit is contained in:
commit
cc0bf35fc1
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@
|
|||
return "GMT";
|
||||
}
|
||||
else {
|
||||
var tzString = d.toString().match(/\((\w+)\)/);
|
||||
var tzString = d.toString().match(/\(([\w\s]+)\)/);
|
||||
return tzString && tzString[1] || '';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue