mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 07:36:12 +08:00
fixed bug timezone cannot detect in fedora (#2250)
* fixed bug timezone cannot detect in fedora * update spec build fedora package * rpm package for fedora 22 * change code follow coffee-script style * remove fedora binary file
This commit is contained in:
parent
65ace228ed
commit
9900c2867c
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ License: GPLv3
|
|||
URL: https://nylas.com/N1
|
||||
AutoReqProv: no # Avoid libchromiumcontent.so missing dependency
|
||||
|
||||
requires: libgnome-keyring0, gir1.2-gnomekeyring-1.0
|
||||
requires: libgnome-keyring
|
||||
|
||||
%description
|
||||
<%= description %>
|
||||
|
|
|
@ -2,7 +2,7 @@ _ = require 'underscore'
|
|||
fs = require('fs-plus')
|
||||
path = require('path')
|
||||
moment = require('moment-timezone')
|
||||
tz = Intl.DateTimeFormat().resolvedOptions().timeZone
|
||||
tz = Intl.DateTimeFormat().resolvedOptions().timeZone ? moment.tz.guess()
|
||||
|
||||
DefaultResourcePath = null
|
||||
TaskRegistry = require('../../task-registry').default
|
||||
|
|
Loading…
Reference in a new issue