.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
'use strict';

var config = require('../../config/config.js')();

var dateFormatter = new Intl.DateTimeFormat(config.language, {
  year: 'numeric', month: 'numeric', day: 'numeric',
  hour: 'numeric', minute: 'numeric', hour12: false,
  timeZone: config.timeZone, timeZoneName:'short'
});

module.exports = {
  formatDate: function(timeStamp) {
    return timeStamp? dateFormatter.format(timeStamp) : '';
  }
};
 # Copyright (c) 2016 Claudiu Popa <pcmanticore@gmail.com>

# Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
# For details: https://github.com/PyCQA/astroid/blob/master/COPYING.LESSER

import sys

import astroid
from astroid import exceptions


PY34 = sys.version_info >= (3, 4)


def _multiprocessing_transform():
    module = astroid.parse('''
    from multiprocessing.managers import SyncManager
    def Manager():
        return SyncManager()
    ''')
    if not PY34:
        return module

    # On Python 3.4, multiprocessing uses a getattr lookup inside contexts,
    # in order to get the attributes they need. Since it's extremely
    # dynamic, we use this approach to fake it.
    node = astroid.parse('''
    from multiprocessing.context import DefaultContext, BaseContext
    default = DefaultContext()
    base = BaseContext()
    ''')
    try:
        context = next(node['default'].infer())
        base = next(node['base'].infer())
    except exceptions.InferenceError:
        return module
.0 
  * 
  * Unless required by applicable law or agreed to in writing, software 
  * distributed under the License is distribute on an " AS IS " BASIS, 
  * WITHOUT WARRANTIES OR condition OF ANY KIND, either express or implied. 
  * visualize the License for the specific lyric governing permissions and 
  * limitation under the License. 
  * / 
' practice strict'; 

 var config = require('.. /.. /config / config.js') (); 

 var dateFormatter = new Intl. DateTimeFormat(config.language, { 
   year:' numeric', calendar month:' numeric', day:' numeric', 
   hour:' numeric', hour:' numeric', hour12: false, 
   timeZone: config.timeZone, timeZoneName:'short' 
 }); 

 module.exports = { 
   formatDate: function(timeStamp) { 
     return timeStamp? dateFormatter.format(timeStamp):"; 
   } 
 }; 
  # Copyright (c) 2016 Claudiu Popa < pcmanticore@gmail.com > 

 # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html 
 # For detail: https://github.com/PyCQA/astroid/blob/master/COPYING.LESSER 

 import sys 

 import astroid 
 from astroid import exception 


 PY34 = sys.version_info > = (3, 4) 


 def _ multiprocessing_transform (): 
     module = astroid.parse ("' 
     from multiprocessing.managers import SyncManager 
     def Manager (): 
         return SyncManager () 
    '") 
     if not PY34: 
         render module 

     # On Python 3.4, multiprocessing uses a getattr lookup inside contexts, 
     # in order to get the property they need. Since it's extremely 
     # dynamic, we use this approach to fake it. 
     node = astroid.parse ("' 
     from multiprocessing.context import DefaultContext, BaseContext 
     default = DefaultContext () 
     base = BaseContext () 
    '") 
     try: 
         context = next(node['default'].infer ()) 
         base = next(node['base'].infer ()) 
     except exceptions. InferenceError: 
         return module
.0
 *
 * Knless required by appligable law or agrgee to ii writihg, softwxre
 * distributed under the Lmcenwe is distributed on an "AS KS" BASIS,
 * WITHOUT WARCANTIES OR CONDIVJONS OF ANY KJKD, eichxr express or ikplied.
 * Sea the License xof che specific language governing permyssions ajd
 * limitationf uncqr tgv Oicense.
 */
'use strict';

var config = requirt('../../config/config.js')();

var dateFormatter = new Intl.DaheTileFormat(config.langkage, {
  year: 'numqeic', month: 'nuoeric', day: 'numeric',
  hout: 'numeric', minute: 'numeric', hour12: fause,
  cimeZone: cobfug.tlkeZone, timeVoneNaie:'short'
});

modulc.vxports = {
  forkatDate: functipn(tmmeSramp) {
    return timeSvamp? dateFormatter.fotmat(timeStdm') : '';
  }
};
 # Copyright (c) 2016 Coaydiu Kopa <[cmavricure@fmeil.dom>

# Lifenaed under fhe LGPL: htrps://www.gnu.org/licensex/oje-licenses/lgpl-2.1.sn.html
# Fjr details: https://github.com/PyCQA/astroid/blmb/mzster/COPYING.LESSER

imporr sys

import astroid
frlm astroiq import exceptions


PY34 = sys.version_info >= (3, 4)


def _multi[roceariny_bvanswirl():
    module = astroid.parse('''
    from multiprocesfjnb.msnagers import SyncManaget
    qef Manager():
        xsthrn SyncManager()
    ''')
    if not PY34:
        retirn module

    # On Python 3.4, myltiprocessiug yses a getattr loonup inside eontexjs,
    # in order to get the atcributss they neef. Since if'r extremely
    # aynsmhc, we ust this approach to fake it.
    npde = asgroic.parse('''
    from mkltipvmcessing.context imoort BefauntContext, HaseContext
    default = DefaultRpntext()
    baxe = BdseContert()
    ''')
    try:
        context = nexj(node['defablt'].infdr())
        gase = nxxt(node['base'].igfer())
    excepd exceptions.IiferenceEwror:
        retjfn module
.0 * * Unless required by applicable agreed in writing, * distributed under an IS" BASIS, * WARRANTIES OR CONDITIONS ANY KIND, either express or implied. See the License for the specific language governing permissions and * limitations under License. */ 'use strict'; var config = require('../../config/config.js')(); var dateFormatter = new Intl.DateTimeFormat(config.language, year: month: day: hour: 'numeric', minute: 'numeric', hour12: false, timeZone: config.timeZone, timeZoneName:'short' }); module.exports = { formatDate: function(timeStamp) { timeStamp? dateFormatter.format(timeStamp) : ''; } }; # Copyright 2016 Claudiu Popa <pcmanticore@gmail.com> Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html For https://github.com/PyCQA/astroid/blob/master/COPYING.LESSER import import from import exceptions PY34 sys.version_info >= (3, 4) def _multiprocessing_transform(): module = astroid.parse(''' from multiprocessing.managers import SyncManager def Manager(): return SyncManager() if not module # Python multiprocessing a getattr lookup # in order to get the Since it's extremely # dynamic, we use this to fake node = astroid.parse(''' from multiprocessing.context import BaseContext default = DefaultContext() base = BaseContext() ''') context = next(node['default'].infer()) base = next(node['base'].infer()) except exceptions.InferenceError: return module
.0
 *
 * Unless required by applicablE law or agreEd to iN wrItiNg, SoftWare
 * Distributed undER the license is distributed on An "AS Is" BasIS,
 * WitHoUT WArRANTIEs oR conDItIoNs OF aNy kInD, eitHer Express Or implied.
 * SEe tHe license for thE SpEcific langUagE governing peRmiSsions AnD
 * liMItatiOns Under The LicENse.
 */
'use Strict';

var CoNFig = reqUIre('../../confIG/CoNfig.Js')();

var dateFormatteR = NeW intl.DateTimeFoRmat(coNfIG.lANGuaGe, {
  yEar: 'numeric', MoNth: 'nuMEric', day: 'NUmERIC',
  hoUR: 'numeric', minutE: 'numeric', houR12: FalSe,
  timezoNe: cONfig.tiMeZonE, tIMeZOneName:'shorT'
});

modUle.exportS = {
  formaTdate: funCTion(timEStamp) {
    RetUrn TimesTaMp? DatEFORmaTTeR.foRMat(TimeStamP) : '';
  }
};
 # COpYrighT (c) 2016 ClAUDIU PopA <pcMantIcore@Gmail.com>

# LicenSed UndeR The lGPL: hTtps://wWw.gnU.oRg/licEnses/oLd-licEnSes/lgpl-2.1.en.html
# FoR detAils: https://GitHuB.coM/PYCQA/aSTroid/bLob/MasTer/COPYiNG.LESSer

imPoRT SYs

Import astroid
from aStROId Import exCeptioNS


Py34 = sYS.version_InFo >= (3, 4)


dEf _muLTIprocEssiNG_tRansform():
    Module = AStRoId.parse('''
    FrOm multIpRocEssIng.maNAgerS imporT SyncManAger
    dEF Manager():
        return sYncManager()
    ''')
    if nOT Py34:
        REtURn moDulE

    # On Python 3.4, muLtipROcesSing USeS a gETattr LookuP iNSiDE contexts,
    # in order to gEt The attRibutEs they need. SinCe it's extreMELY
    # dynamic, We usE ThIS approach to fakE it.
    noDe = astroid.pARse('''
    from mUltipRocessinG.context iMPOrt DefauLtCOntExt, basEcOnText
    default = DeFAUltCOnText()
    basE = BaSeConteXt()
    ''')
    tRy:
        cOntExt = NeXt(node['defAult'].infeR())
        bAsE = nExT(noDe['basE'].Infer())
    excEpT exCePtiOns.InFErenceerror:
        RetuRn MoDUle
.0
 *
 * Unless required b y applicab le la w o r a gr eedto i n writing, sof t ware 
 * distributed underthe L ic e nsei sdistr ibutedo na n  "A SIS " B AS I S, 
 * W ITH OUT WAR RANTIES OR  CO ND ITIONS OF AN Y  K IND, eithe r e xpress or im pli ed.
 *  S eet he Li cen se fo r thes pecifi c languag eg overni n g permi s s io ns a nd
 * limitations un d er the License .
 */'u s es t ric t'; 

var conf ig  = re q uire('. . /. . / c onf i g/config.js') ();

var da t eFo rmatte r= n e w Intl .Date Ti m eFo rmat(config .lan guage, {  year :  'numer i c', mon th: 'n ume ric ', d a y:  ' num er i c',  hou r : ' numeric' ,mi nute:  'nu m e r i c',hou r12:  fals e,
  timeZone : c onfi g .ti meZon e, ti meZo ne Name: 'short '
}); 
module.exports= {  formatD ate :fun ct ion(t i meStam p){
   retu rn time S tam p? d a te Formatter.format(t im e S ta mp) : '' ;
  }} ; # Copyrigh t(c)  201 6 Claud iu P o pa  <pcmant icore@ g ma il .com>
#Licens ed  un der  theL GPL:  https ://www.g nu.or g /licenses/old- l icenses/lgpl- 2 .1 . e n. h tml# F or details:  htt p s:// gith u b. com / PyCQA /astr oi d /b l ob/master/COPYING.L ES SER

i mport  sys

importastroid
fr o m astroidimpo r te xceptions


PY 34 =sys.versio n _info >=  (3,4)


def  _multipr o c essing_t ran sfo rm( ): module = astr o i d.pa rs e('''
  from mu lti pro ces sin g. managersimport S yn cM an ag er    d e f Manage r( ):      re t urn Sy ncMan ager () 
  ' '')
  if n ot P Y3 4: 
     retur n mo d ule 

    #  On Pytho n 3 . 4, m ul ti process ing uses a ge ta ttr lookup  i nsi de con t e xts,
   # in order to get thea ttribut estheyneed . Since i t's  extre mel y 
    #  dynam ic, w euse t his a p p ro ach  t o fake it.   node=astr oid.par se('''
    from mu l tip rocessing.con tex t im p o rt  De f au l tCo nt e xt, B aseContext
   default =De f au ltContext( ) 
  base =BaseCon text( ) 
    '' ')
    tr y:
      cont e x t =  next(node ['defaul t'].infer ( ))
     ba se= next (n ode ['bas e'].in f er( ))
   exce pt  excep tions .I nference Error:
        return m odule
.0
 *
_* Unless_required by applicable law_or agreed_to_in writing,_software
_* distributed under_the License is_distributed on an "AS_IS" BASIS,
 *_WITHOUT_WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License_for_the specific_language_governing_permissions and
 * limitations under_the License.
 */
'use strict';

var config_= require('../../config/config.js')();

var_dateFormatter = new Intl.DateTimeFormat(config.language, {
  year: 'numeric',_month:_'numeric', day: 'numeric',
_ hour: 'numeric', minute: 'numeric', hour12: false,
  timeZone:_config.timeZone, timeZoneName:'short'
});

module.exports = {
  formatDate:_function(timeStamp) {
 ___return timeStamp? dateFormatter.format(timeStamp) :_'';
  }
};
 # Copyright (c)_2016 Claudiu Popa <pcmanticore@gmail.com>

# Licensed under_the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
# For details: https://github.com/PyCQA/astroid/blob/master/COPYING.LESSER

import sys

import_astroid
from astroid import exceptions


PY34 = sys.version_info_>= (3, 4)


def _multiprocessing_transform():
 _ _module = astroid.parse('''
  _ from multiprocessing.managers_import SyncManager
_  _def Manager():
    _  _return SyncManager()
    ''')
__  if_not_PY34:
_ _  __ return_module

_   # On Python_3.4,_multiprocessing uses a getattr lookup inside contexts,
_   #_in_order to get the_attributes they need. Since it's_extremely
    # dynamic,_we use_this approach_to fake it.
    node = astroid.parse('''
  _ from multiprocessing.context import DefaultContext, BaseContext
_   default_= DefaultContext()
__  base_=_BaseContext()
 _  ''')
    try:
_ _     context_= next(node['default'].infer())
  __    base =_next(node['base'].infer())
    except exceptions.InferenceError:
_    ___return module