locales.js 305 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021
  1. ;(function (global, factory) {
  2. typeof exports === 'object' && typeof module !== 'undefined'
  3. && typeof require === 'function' ? factory(require('../moment')) :
  4. typeof define === 'function' && define.amd ? define(['moment'], factory) :
  5. factory(global.moment)
  6. }(this, function (moment) { 'use strict';
  7. //! moment.js locale configuration
  8. //! locale : afrikaans (af)
  9. //! author : Werner Mollentze : https://github.com/wernerm
  10. var af = moment.defineLocale('af', {
  11. months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'),
  12. monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
  13. weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'),
  14. weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
  15. weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
  16. meridiemParse: /vm|nm/i,
  17. isPM : function (input) {
  18. return /^nm$/i.test(input);
  19. },
  20. meridiem : function (hours, minutes, isLower) {
  21. if (hours < 12) {
  22. return isLower ? 'vm' : 'VM';
  23. } else {
  24. return isLower ? 'nm' : 'NM';
  25. }
  26. },
  27. longDateFormat : {
  28. LT : 'HH:mm',
  29. LTS : 'HH:mm:ss',
  30. L : 'DD/MM/YYYY',
  31. LL : 'D MMMM YYYY',
  32. LLL : 'D MMMM YYYY HH:mm',
  33. LLLL : 'dddd, D MMMM YYYY HH:mm'
  34. },
  35. calendar : {
  36. sameDay : '[Vandag om] LT',
  37. nextDay : '[Môre om] LT',
  38. nextWeek : 'dddd [om] LT',
  39. lastDay : '[Gister om] LT',
  40. lastWeek : '[Laas] dddd [om] LT',
  41. sameElse : 'L'
  42. },
  43. relativeTime : {
  44. future : 'oor %s',
  45. past : '%s gelede',
  46. s : '\'n paar sekondes',
  47. m : '\'n minuut',
  48. mm : '%d minute',
  49. h : '\'n uur',
  50. hh : '%d ure',
  51. d : '\'n dag',
  52. dd : '%d dae',
  53. M : '\'n maand',
  54. MM : '%d maande',
  55. y : '\'n jaar',
  56. yy : '%d jaar'
  57. },
  58. ordinalParse: /\d{1,2}(ste|de)/,
  59. ordinal : function (number) {
  60. return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter
  61. },
  62. week : {
  63. dow : 1, // Maandag is die eerste dag van die week.
  64. doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
  65. }
  66. });
  67. //! moment.js locale configuration
  68. //! locale : Moroccan Arabic (ar-ma)
  69. //! author : ElFadili Yassine : https://github.com/ElFadiliY
  70. //! author : Abdel Said : https://github.com/abdelsaid
  71. var ar_ma = moment.defineLocale('ar-ma', {
  72. months : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
  73. monthsShort : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
  74. weekdays : 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  75. weekdaysShort : 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
  76. weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  77. weekdaysParseExact : true,
  78. longDateFormat : {
  79. LT : 'HH:mm',
  80. LTS : 'HH:mm:ss',
  81. L : 'DD/MM/YYYY',
  82. LL : 'D MMMM YYYY',
  83. LLL : 'D MMMM YYYY HH:mm',
  84. LLLL : 'dddd D MMMM YYYY HH:mm'
  85. },
  86. calendar : {
  87. sameDay: '[اليوم على الساعة] LT',
  88. nextDay: '[غدا على الساعة] LT',
  89. nextWeek: 'dddd [على الساعة] LT',
  90. lastDay: '[أمس على الساعة] LT',
  91. lastWeek: 'dddd [على الساعة] LT',
  92. sameElse: 'L'
  93. },
  94. relativeTime : {
  95. future : 'في %s',
  96. past : 'منذ %s',
  97. s : 'ثوان',
  98. m : 'دقيقة',
  99. mm : '%d دقائق',
  100. h : 'ساعة',
  101. hh : '%d ساعات',
  102. d : 'يوم',
  103. dd : '%d أيام',
  104. M : 'شهر',
  105. MM : '%d أشهر',
  106. y : 'سنة',
  107. yy : '%d سنوات'
  108. },
  109. week : {
  110. dow : 6, // Saturday is the first day of the week.
  111. doy : 12 // The week that contains Jan 1st is the first week of the year.
  112. }
  113. });
  114. //! moment.js locale configuration
  115. //! locale : Arabic Saudi Arabia (ar-sa)
  116. //! author : Suhail Alkowaileet : https://github.com/xsoh
  117. var ar_sa__symbolMap = {
  118. '1': '١',
  119. '2': '٢',
  120. '3': '٣',
  121. '4': '٤',
  122. '5': '٥',
  123. '6': '٦',
  124. '7': '٧',
  125. '8': '٨',
  126. '9': '٩',
  127. '0': '٠'
  128. }, ar_sa__numberMap = {
  129. '١': '1',
  130. '٢': '2',
  131. '٣': '3',
  132. '٤': '4',
  133. '٥': '5',
  134. '٦': '6',
  135. '٧': '7',
  136. '٨': '8',
  137. '٩': '9',
  138. '٠': '0'
  139. };
  140. var ar_sa = moment.defineLocale('ar-sa', {
  141. months : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
  142. monthsShort : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
  143. weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  144. weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  145. weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  146. weekdaysParseExact : true,
  147. longDateFormat : {
  148. LT : 'HH:mm',
  149. LTS : 'HH:mm:ss',
  150. L : 'DD/MM/YYYY',
  151. LL : 'D MMMM YYYY',
  152. LLL : 'D MMMM YYYY HH:mm',
  153. LLLL : 'dddd D MMMM YYYY HH:mm'
  154. },
  155. meridiemParse: /ص|م/,
  156. isPM : function (input) {
  157. return 'م' === input;
  158. },
  159. meridiem : function (hour, minute, isLower) {
  160. if (hour < 12) {
  161. return 'ص';
  162. } else {
  163. return 'م';
  164. }
  165. },
  166. calendar : {
  167. sameDay: '[اليوم على الساعة] LT',
  168. nextDay: '[غدا على الساعة] LT',
  169. nextWeek: 'dddd [على الساعة] LT',
  170. lastDay: '[أمس على الساعة] LT',
  171. lastWeek: 'dddd [على الساعة] LT',
  172. sameElse: 'L'
  173. },
  174. relativeTime : {
  175. future : 'في %s',
  176. past : 'منذ %s',
  177. s : 'ثوان',
  178. m : 'دقيقة',
  179. mm : '%d دقائق',
  180. h : 'ساعة',
  181. hh : '%d ساعات',
  182. d : 'يوم',
  183. dd : '%d أيام',
  184. M : 'شهر',
  185. MM : '%d أشهر',
  186. y : 'سنة',
  187. yy : '%d سنوات'
  188. },
  189. preparse: function (string) {
  190. return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  191. return ar_sa__numberMap[match];
  192. }).replace(/،/g, ',');
  193. },
  194. postformat: function (string) {
  195. return string.replace(/\d/g, function (match) {
  196. return ar_sa__symbolMap[match];
  197. }).replace(/,/g, '،');
  198. },
  199. week : {
  200. dow : 6, // Saturday is the first day of the week.
  201. doy : 12 // The week that contains Jan 1st is the first week of the year.
  202. }
  203. });
  204. //! moment.js locale configuration
  205. //! locale : Tunisian Arabic (ar-tn)
  206. var ar_tn = moment.defineLocale('ar-tn', {
  207. months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
  208. monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
  209. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  210. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  211. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  212. weekdaysParseExact : true,
  213. longDateFormat: {
  214. LT: 'HH:mm',
  215. LTS: 'HH:mm:ss',
  216. L: 'DD/MM/YYYY',
  217. LL: 'D MMMM YYYY',
  218. LLL: 'D MMMM YYYY HH:mm',
  219. LLLL: 'dddd D MMMM YYYY HH:mm'
  220. },
  221. calendar: {
  222. sameDay: '[اليوم على الساعة] LT',
  223. nextDay: '[غدا على الساعة] LT',
  224. nextWeek: 'dddd [على الساعة] LT',
  225. lastDay: '[أمس على الساعة] LT',
  226. lastWeek: 'dddd [على الساعة] LT',
  227. sameElse: 'L'
  228. },
  229. relativeTime: {
  230. future: 'في %s',
  231. past: 'منذ %s',
  232. s: 'ثوان',
  233. m: 'دقيقة',
  234. mm: '%d دقائق',
  235. h: 'ساعة',
  236. hh: '%d ساعات',
  237. d: 'يوم',
  238. dd: '%d أيام',
  239. M: 'شهر',
  240. MM: '%d أشهر',
  241. y: 'سنة',
  242. yy: '%d سنوات'
  243. },
  244. week: {
  245. dow: 1, // Monday is the first day of the week.
  246. doy: 4 // The week that contains Jan 4th is the first week of the year.
  247. }
  248. });
  249. //! moment.js locale configuration
  250. //! Locale: Arabic (ar)
  251. //! Author: Abdel Said: https://github.com/abdelsaid
  252. //! Changes in months, weekdays: Ahmed Elkhatib
  253. //! Native plural forms: forabi https://github.com/forabi
  254. var ar__symbolMap = {
  255. '1': '١',
  256. '2': '٢',
  257. '3': '٣',
  258. '4': '٤',
  259. '5': '٥',
  260. '6': '٦',
  261. '7': '٧',
  262. '8': '٨',
  263. '9': '٩',
  264. '0': '٠'
  265. }, ar__numberMap = {
  266. '١': '1',
  267. '٢': '2',
  268. '٣': '3',
  269. '٤': '4',
  270. '٥': '5',
  271. '٦': '6',
  272. '٧': '7',
  273. '٨': '8',
  274. '٩': '9',
  275. '٠': '0'
  276. }, pluralForm = function (n) {
  277. return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;
  278. }, plurals = {
  279. s : ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
  280. m : ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
  281. h : ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
  282. d : ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],
  283. M : ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
  284. y : ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
  285. }, pluralize = function (u) {
  286. return function (number, withoutSuffix, string, isFuture) {
  287. var f = pluralForm(number),
  288. str = plurals[u][pluralForm(number)];
  289. if (f === 2) {
  290. str = str[withoutSuffix ? 0 : 1];
  291. }
  292. return str.replace(/%d/i, number);
  293. };
  294. }, ar__months = [
  295. 'كانون الثاني يناير',
  296. 'شباط فبراير',
  297. 'آذار مارس',
  298. 'نيسان أبريل',
  299. 'أيار مايو',
  300. 'حزيران يونيو',
  301. 'تموز يوليو',
  302. 'آب أغسطس',
  303. 'أيلول سبتمبر',
  304. 'تشرين الأول أكتوبر',
  305. 'تشرين الثاني نوفمبر',
  306. 'كانون الأول ديسمبر'
  307. ];
  308. var ar = moment.defineLocale('ar', {
  309. months : ar__months,
  310. monthsShort : ar__months,
  311. weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  312. weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  313. weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  314. weekdaysParseExact : true,
  315. longDateFormat : {
  316. LT : 'HH:mm',
  317. LTS : 'HH:mm:ss',
  318. L : 'D/\u200FM/\u200FYYYY',
  319. LL : 'D MMMM YYYY',
  320. LLL : 'D MMMM YYYY HH:mm',
  321. LLLL : 'dddd D MMMM YYYY HH:mm'
  322. },
  323. meridiemParse: /ص|م/,
  324. isPM : function (input) {
  325. return 'م' === input;
  326. },
  327. meridiem : function (hour, minute, isLower) {
  328. if (hour < 12) {
  329. return 'ص';
  330. } else {
  331. return 'م';
  332. }
  333. },
  334. calendar : {
  335. sameDay: '[اليوم عند الساعة] LT',
  336. nextDay: '[غدًا عند الساعة] LT',
  337. nextWeek: 'dddd [عند الساعة] LT',
  338. lastDay: '[أمس عند الساعة] LT',
  339. lastWeek: 'dddd [عند الساعة] LT',
  340. sameElse: 'L'
  341. },
  342. relativeTime : {
  343. future : 'بعد %s',
  344. past : 'منذ %s',
  345. s : pluralize('s'),
  346. m : pluralize('m'),
  347. mm : pluralize('m'),
  348. h : pluralize('h'),
  349. hh : pluralize('h'),
  350. d : pluralize('d'),
  351. dd : pluralize('d'),
  352. M : pluralize('M'),
  353. MM : pluralize('M'),
  354. y : pluralize('y'),
  355. yy : pluralize('y')
  356. },
  357. preparse: function (string) {
  358. return string.replace(/\u200f/g, '').replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  359. return ar__numberMap[match];
  360. }).replace(/،/g, ',');
  361. },
  362. postformat: function (string) {
  363. return string.replace(/\d/g, function (match) {
  364. return ar__symbolMap[match];
  365. }).replace(/,/g, '،');
  366. },
  367. week : {
  368. dow : 6, // Saturday is the first day of the week.
  369. doy : 12 // The week that contains Jan 1st is the first week of the year.
  370. }
  371. });
  372. //! moment.js locale configuration
  373. //! locale : azerbaijani (az)
  374. //! author : topchiyev : https://github.com/topchiyev
  375. var az__suffixes = {
  376. 1: '-inci',
  377. 5: '-inci',
  378. 8: '-inci',
  379. 70: '-inci',
  380. 80: '-inci',
  381. 2: '-nci',
  382. 7: '-nci',
  383. 20: '-nci',
  384. 50: '-nci',
  385. 3: '-üncü',
  386. 4: '-üncü',
  387. 100: '-üncü',
  388. 6: '-ncı',
  389. 9: '-uncu',
  390. 10: '-uncu',
  391. 30: '-uncu',
  392. 60: '-ıncı',
  393. 90: '-ıncı'
  394. };
  395. var az = moment.defineLocale('az', {
  396. months : 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'),
  397. monthsShort : 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
  398. weekdays : 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'),
  399. weekdaysShort : 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
  400. weekdaysMin : 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
  401. weekdaysParseExact : true,
  402. longDateFormat : {
  403. LT : 'HH:mm',
  404. LTS : 'HH:mm:ss',
  405. L : 'DD.MM.YYYY',
  406. LL : 'D MMMM YYYY',
  407. LLL : 'D MMMM YYYY HH:mm',
  408. LLLL : 'dddd, D MMMM YYYY HH:mm'
  409. },
  410. calendar : {
  411. sameDay : '[bugün saat] LT',
  412. nextDay : '[sabah saat] LT',
  413. nextWeek : '[gələn həftə] dddd [saat] LT',
  414. lastDay : '[dünən] LT',
  415. lastWeek : '[keçən həftə] dddd [saat] LT',
  416. sameElse : 'L'
  417. },
  418. relativeTime : {
  419. future : '%s sonra',
  420. past : '%s əvvəl',
  421. s : 'birneçə saniyyə',
  422. m : 'bir dəqiqə',
  423. mm : '%d dəqiqə',
  424. h : 'bir saat',
  425. hh : '%d saat',
  426. d : 'bir gün',
  427. dd : '%d gün',
  428. M : 'bir ay',
  429. MM : '%d ay',
  430. y : 'bir il',
  431. yy : '%d il'
  432. },
  433. meridiemParse: /gecə|səhər|gündüz|axşam/,
  434. isPM : function (input) {
  435. return /^(gündüz|axşam)$/.test(input);
  436. },
  437. meridiem : function (hour, minute, isLower) {
  438. if (hour < 4) {
  439. return 'gecə';
  440. } else if (hour < 12) {
  441. return 'səhər';
  442. } else if (hour < 17) {
  443. return 'gündüz';
  444. } else {
  445. return 'axşam';
  446. }
  447. },
  448. ordinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
  449. ordinal : function (number) {
  450. if (number === 0) { // special case for zero
  451. return number + '-ıncı';
  452. }
  453. var a = number % 10,
  454. b = number % 100 - a,
  455. c = number >= 100 ? 100 : null;
  456. return number + (az__suffixes[a] || az__suffixes[b] || az__suffixes[c]);
  457. },
  458. week : {
  459. dow : 1, // Monday is the first day of the week.
  460. doy : 7 // The week that contains Jan 1st is the first week of the year.
  461. }
  462. });
  463. //! moment.js locale configuration
  464. //! locale : belarusian (be)
  465. //! author : Dmitry Demidov : https://github.com/demidov91
  466. //! author: Praleska: http://praleska.pro/
  467. //! Author : Menelion Elensúle : https://github.com/Oire
  468. function be__plural(word, num) {
  469. var forms = word.split('_');
  470. return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]);
  471. }
  472. function be__relativeTimeWithPlural(number, withoutSuffix, key) {
  473. var format = {
  474. 'mm': withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
  475. 'hh': withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
  476. 'dd': 'дзень_дні_дзён',
  477. 'MM': 'месяц_месяцы_месяцаў',
  478. 'yy': 'год_гады_гадоў'
  479. };
  480. if (key === 'm') {
  481. return withoutSuffix ? 'хвіліна' : 'хвіліну';
  482. }
  483. else if (key === 'h') {
  484. return withoutSuffix ? 'гадзіна' : 'гадзіну';
  485. }
  486. else {
  487. return number + ' ' + be__plural(format[key], +number);
  488. }
  489. }
  490. var be = moment.defineLocale('be', {
  491. months : {
  492. format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_'),
  493. standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_')
  494. },
  495. monthsShort : 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),
  496. weekdays : {
  497. format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'),
  498. standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'),
  499. isFormat: /\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/
  500. },
  501. weekdaysShort : 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
  502. weekdaysMin : 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
  503. longDateFormat : {
  504. LT : 'HH:mm',
  505. LTS : 'HH:mm:ss',
  506. L : 'DD.MM.YYYY',
  507. LL : 'D MMMM YYYY г.',
  508. LLL : 'D MMMM YYYY г., HH:mm',
  509. LLLL : 'dddd, D MMMM YYYY г., HH:mm'
  510. },
  511. calendar : {
  512. sameDay: '[Сёння ў] LT',
  513. nextDay: '[Заўтра ў] LT',
  514. lastDay: '[Учора ў] LT',
  515. nextWeek: function () {
  516. return '[У] dddd [ў] LT';
  517. },
  518. lastWeek: function () {
  519. switch (this.day()) {
  520. case 0:
  521. case 3:
  522. case 5:
  523. case 6:
  524. return '[У мінулую] dddd [ў] LT';
  525. case 1:
  526. case 2:
  527. case 4:
  528. return '[У мінулы] dddd [ў] LT';
  529. }
  530. },
  531. sameElse: 'L'
  532. },
  533. relativeTime : {
  534. future : 'праз %s',
  535. past : '%s таму',
  536. s : 'некалькі секунд',
  537. m : be__relativeTimeWithPlural,
  538. mm : be__relativeTimeWithPlural,
  539. h : be__relativeTimeWithPlural,
  540. hh : be__relativeTimeWithPlural,
  541. d : 'дзень',
  542. dd : be__relativeTimeWithPlural,
  543. M : 'месяц',
  544. MM : be__relativeTimeWithPlural,
  545. y : 'год',
  546. yy : be__relativeTimeWithPlural
  547. },
  548. meridiemParse: /ночы|раніцы|дня|вечара/,
  549. isPM : function (input) {
  550. return /^(дня|вечара)$/.test(input);
  551. },
  552. meridiem : function (hour, minute, isLower) {
  553. if (hour < 4) {
  554. return 'ночы';
  555. } else if (hour < 12) {
  556. return 'раніцы';
  557. } else if (hour < 17) {
  558. return 'дня';
  559. } else {
  560. return 'вечара';
  561. }
  562. },
  563. ordinalParse: /\d{1,2}-(і|ы|га)/,
  564. ordinal: function (number, period) {
  565. switch (period) {
  566. case 'M':
  567. case 'd':
  568. case 'DDD':
  569. case 'w':
  570. case 'W':
  571. return (number % 10 === 2 || number % 10 === 3) && (number % 100 !== 12 && number % 100 !== 13) ? number + '-і' : number + '-ы';
  572. case 'D':
  573. return number + '-га';
  574. default:
  575. return number;
  576. }
  577. },
  578. week : {
  579. dow : 1, // Monday is the first day of the week.
  580. doy : 7 // The week that contains Jan 1st is the first week of the year.
  581. }
  582. });
  583. //! moment.js locale configuration
  584. //! locale : bulgarian (bg)
  585. //! author : Krasen Borisov : https://github.com/kraz
  586. var bg = moment.defineLocale('bg', {
  587. months : 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'),
  588. monthsShort : 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
  589. weekdays : 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'),
  590. weekdaysShort : 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
  591. weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  592. longDateFormat : {
  593. LT : 'H:mm',
  594. LTS : 'H:mm:ss',
  595. L : 'D.MM.YYYY',
  596. LL : 'D MMMM YYYY',
  597. LLL : 'D MMMM YYYY H:mm',
  598. LLLL : 'dddd, D MMMM YYYY H:mm'
  599. },
  600. calendar : {
  601. sameDay : '[Днес в] LT',
  602. nextDay : '[Утре в] LT',
  603. nextWeek : 'dddd [в] LT',
  604. lastDay : '[Вчера в] LT',
  605. lastWeek : function () {
  606. switch (this.day()) {
  607. case 0:
  608. case 3:
  609. case 6:
  610. return '[В изминалата] dddd [в] LT';
  611. case 1:
  612. case 2:
  613. case 4:
  614. case 5:
  615. return '[В изминалия] dddd [в] LT';
  616. }
  617. },
  618. sameElse : 'L'
  619. },
  620. relativeTime : {
  621. future : 'след %s',
  622. past : 'преди %s',
  623. s : 'няколко секунди',
  624. m : 'минута',
  625. mm : '%d минути',
  626. h : 'час',
  627. hh : '%d часа',
  628. d : 'ден',
  629. dd : '%d дни',
  630. M : 'месец',
  631. MM : '%d месеца',
  632. y : 'година',
  633. yy : '%d години'
  634. },
  635. ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
  636. ordinal : function (number) {
  637. var lastDigit = number % 10,
  638. last2Digits = number % 100;
  639. if (number === 0) {
  640. return number + '-ев';
  641. } else if (last2Digits === 0) {
  642. return number + '-ен';
  643. } else if (last2Digits > 10 && last2Digits < 20) {
  644. return number + '-ти';
  645. } else if (lastDigit === 1) {
  646. return number + '-ви';
  647. } else if (lastDigit === 2) {
  648. return number + '-ри';
  649. } else if (lastDigit === 7 || lastDigit === 8) {
  650. return number + '-ми';
  651. } else {
  652. return number + '-ти';
  653. }
  654. },
  655. week : {
  656. dow : 1, // Monday is the first day of the week.
  657. doy : 7 // The week that contains Jan 1st is the first week of the year.
  658. }
  659. });
  660. //! moment.js locale configuration
  661. //! locale : Bengali (bn)
  662. //! author : Kaushik Gandhi : https://github.com/kaushikgandhi
  663. var bn__symbolMap = {
  664. '1': '১',
  665. '2': '২',
  666. '3': '৩',
  667. '4': '৪',
  668. '5': '৫',
  669. '6': '৬',
  670. '7': '৭',
  671. '8': '৮',
  672. '9': '৯',
  673. '0': '০'
  674. },
  675. bn__numberMap = {
  676. '১': '1',
  677. '২': '2',
  678. '৩': '3',
  679. '৪': '4',
  680. '৫': '5',
  681. '৬': '6',
  682. '৭': '7',
  683. '৮': '8',
  684. '৯': '9',
  685. '০': '0'
  686. };
  687. var bn = moment.defineLocale('bn', {
  688. months : 'জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'),
  689. monthsShort : 'জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্'.split('_'),
  690. weekdays : 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পত্তিবার_শুক্রবার_শনিবার'.split('_'),
  691. weekdaysShort : 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পত্তি_শুক্র_শনি'.split('_'),
  692. weekdaysMin : 'রব_সম_মঙ্গ_বু_ব্রিহ_শু_শনি'.split('_'),
  693. longDateFormat : {
  694. LT : 'A h:mm সময়',
  695. LTS : 'A h:mm:ss সময়',
  696. L : 'DD/MM/YYYY',
  697. LL : 'D MMMM YYYY',
  698. LLL : 'D MMMM YYYY, A h:mm সময়',
  699. LLLL : 'dddd, D MMMM YYYY, A h:mm সময়'
  700. },
  701. calendar : {
  702. sameDay : '[আজ] LT',
  703. nextDay : '[আগামীকাল] LT',
  704. nextWeek : 'dddd, LT',
  705. lastDay : '[গতকাল] LT',
  706. lastWeek : '[গত] dddd, LT',
  707. sameElse : 'L'
  708. },
  709. relativeTime : {
  710. future : '%s পরে',
  711. past : '%s আগে',
  712. s : 'কয়েক সেকেন্ড',
  713. m : 'এক মিনিট',
  714. mm : '%d মিনিট',
  715. h : 'এক ঘন্টা',
  716. hh : '%d ঘন্টা',
  717. d : 'এক দিন',
  718. dd : '%d দিন',
  719. M : 'এক মাস',
  720. MM : '%d মাস',
  721. y : 'এক বছর',
  722. yy : '%d বছর'
  723. },
  724. preparse: function (string) {
  725. return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
  726. return bn__numberMap[match];
  727. });
  728. },
  729. postformat: function (string) {
  730. return string.replace(/\d/g, function (match) {
  731. return bn__symbolMap[match];
  732. });
  733. },
  734. meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
  735. meridiemHour : function (hour, meridiem) {
  736. if (hour === 12) {
  737. hour = 0;
  738. }
  739. if ((meridiem === 'রাত' && hour >= 4) ||
  740. (meridiem === 'দুপুর' && hour < 5) ||
  741. meridiem === 'বিকাল') {
  742. return hour + 12;
  743. } else {
  744. return hour;
  745. }
  746. },
  747. meridiem : function (hour, minute, isLower) {
  748. if (hour < 4) {
  749. return 'রাত';
  750. } else if (hour < 10) {
  751. return 'সকাল';
  752. } else if (hour < 17) {
  753. return 'দুপুর';
  754. } else if (hour < 20) {
  755. return 'বিকাল';
  756. } else {
  757. return 'রাত';
  758. }
  759. },
  760. week : {
  761. dow : 0, // Sunday is the first day of the week.
  762. doy : 6 // The week that contains Jan 1st is the first week of the year.
  763. }
  764. });
  765. //! moment.js locale configuration
  766. //! locale : tibetan (bo)
  767. //! author : Thupten N. Chakrishar : https://github.com/vajradog
  768. var bo__symbolMap = {
  769. '1': '༡',
  770. '2': '༢',
  771. '3': '༣',
  772. '4': '༤',
  773. '5': '༥',
  774. '6': '༦',
  775. '7': '༧',
  776. '8': '༨',
  777. '9': '༩',
  778. '0': '༠'
  779. },
  780. bo__numberMap = {
  781. '༡': '1',
  782. '༢': '2',
  783. '༣': '3',
  784. '༤': '4',
  785. '༥': '5',
  786. '༦': '6',
  787. '༧': '7',
  788. '༨': '8',
  789. '༩': '9',
  790. '༠': '0'
  791. };
  792. var bo = moment.defineLocale('bo', {
  793. months : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'),
  794. monthsShort : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'),
  795. weekdays : 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split('_'),
  796. weekdaysShort : 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'),
  797. weekdaysMin : 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'),
  798. longDateFormat : {
  799. LT : 'A h:mm',
  800. LTS : 'A h:mm:ss',
  801. L : 'DD/MM/YYYY',
  802. LL : 'D MMMM YYYY',
  803. LLL : 'D MMMM YYYY, A h:mm',
  804. LLLL : 'dddd, D MMMM YYYY, A h:mm'
  805. },
  806. calendar : {
  807. sameDay : '[དི་རིང] LT',
  808. nextDay : '[སང་ཉིན] LT',
  809. nextWeek : '[བདུན་ཕྲག་རྗེས་མ], LT',
  810. lastDay : '[ཁ་སང] LT',
  811. lastWeek : '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',
  812. sameElse : 'L'
  813. },
  814. relativeTime : {
  815. future : '%s ལ་',
  816. past : '%s སྔན་ལ',
  817. s : 'ལམ་སང',
  818. m : 'སྐར་མ་གཅིག',
  819. mm : '%d སྐར་མ',
  820. h : 'ཆུ་ཚོད་གཅིག',
  821. hh : '%d ཆུ་ཚོད',
  822. d : 'ཉིན་གཅིག',
  823. dd : '%d ཉིན་',
  824. M : 'ཟླ་བ་གཅིག',
  825. MM : '%d ཟླ་བ',
  826. y : 'ལོ་གཅིག',
  827. yy : '%d ལོ'
  828. },
  829. preparse: function (string) {
  830. return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {
  831. return bo__numberMap[match];
  832. });
  833. },
  834. postformat: function (string) {
  835. return string.replace(/\d/g, function (match) {
  836. return bo__symbolMap[match];
  837. });
  838. },
  839. meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
  840. meridiemHour : function (hour, meridiem) {
  841. if (hour === 12) {
  842. hour = 0;
  843. }
  844. if ((meridiem === 'མཚན་མོ' && hour >= 4) ||
  845. (meridiem === 'ཉིན་གུང' && hour < 5) ||
  846. meridiem === 'དགོང་དག') {
  847. return hour + 12;
  848. } else {
  849. return hour;
  850. }
  851. },
  852. meridiem : function (hour, minute, isLower) {
  853. if (hour < 4) {
  854. return 'མཚན་མོ';
  855. } else if (hour < 10) {
  856. return 'ཞོགས་ཀས';
  857. } else if (hour < 17) {
  858. return 'ཉིན་གུང';
  859. } else if (hour < 20) {
  860. return 'དགོང་དག';
  861. } else {
  862. return 'མཚན་མོ';
  863. }
  864. },
  865. week : {
  866. dow : 0, // Sunday is the first day of the week.
  867. doy : 6 // The week that contains Jan 1st is the first week of the year.
  868. }
  869. });
  870. //! moment.js locale configuration
  871. //! locale : breton (br)
  872. //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
  873. function relativeTimeWithMutation(number, withoutSuffix, key) {
  874. var format = {
  875. 'mm': 'munutenn',
  876. 'MM': 'miz',
  877. 'dd': 'devezh'
  878. };
  879. return number + ' ' + mutation(format[key], number);
  880. }
  881. function specialMutationForYears(number) {
  882. switch (lastNumber(number)) {
  883. case 1:
  884. case 3:
  885. case 4:
  886. case 5:
  887. case 9:
  888. return number + ' bloaz';
  889. default:
  890. return number + ' vloaz';
  891. }
  892. }
  893. function lastNumber(number) {
  894. if (number > 9) {
  895. return lastNumber(number % 10);
  896. }
  897. return number;
  898. }
  899. function mutation(text, number) {
  900. if (number === 2) {
  901. return softMutation(text);
  902. }
  903. return text;
  904. }
  905. function softMutation(text) {
  906. var mutationTable = {
  907. 'm': 'v',
  908. 'b': 'v',
  909. 'd': 'z'
  910. };
  911. if (mutationTable[text.charAt(0)] === undefined) {
  912. return text;
  913. }
  914. return mutationTable[text.charAt(0)] + text.substring(1);
  915. }
  916. var br = moment.defineLocale('br', {
  917. months : 'Genver_C\'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split('_'),
  918. monthsShort : 'Gen_C\'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),
  919. weekdays : 'Sul_Lun_Meurzh_Merc\'her_Yaou_Gwener_Sadorn'.split('_'),
  920. weekdaysShort : 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),
  921. weekdaysMin : 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),
  922. weekdaysParseExact : true,
  923. longDateFormat : {
  924. LT : 'h[e]mm A',
  925. LTS : 'h[e]mm:ss A',
  926. L : 'DD/MM/YYYY',
  927. LL : 'D [a viz] MMMM YYYY',
  928. LLL : 'D [a viz] MMMM YYYY h[e]mm A',
  929. LLLL : 'dddd, D [a viz] MMMM YYYY h[e]mm A'
  930. },
  931. calendar : {
  932. sameDay : '[Hiziv da] LT',
  933. nextDay : '[Warc\'hoazh da] LT',
  934. nextWeek : 'dddd [da] LT',
  935. lastDay : '[Dec\'h da] LT',
  936. lastWeek : 'dddd [paset da] LT',
  937. sameElse : 'L'
  938. },
  939. relativeTime : {
  940. future : 'a-benn %s',
  941. past : '%s \'zo',
  942. s : 'un nebeud segondennoù',
  943. m : 'ur vunutenn',
  944. mm : relativeTimeWithMutation,
  945. h : 'un eur',
  946. hh : '%d eur',
  947. d : 'un devezh',
  948. dd : relativeTimeWithMutation,
  949. M : 'ur miz',
  950. MM : relativeTimeWithMutation,
  951. y : 'ur bloaz',
  952. yy : specialMutationForYears
  953. },
  954. ordinalParse: /\d{1,2}(añ|vet)/,
  955. ordinal : function (number) {
  956. var output = (number === 1) ? 'añ' : 'vet';
  957. return number + output;
  958. },
  959. week : {
  960. dow : 1, // Monday is the first day of the week.
  961. doy : 4 // The week that contains Jan 4th is the first week of the year.
  962. }
  963. });
  964. //! moment.js locale configuration
  965. //! locale : bosnian (bs)
  966. //! author : Nedim Cholich : https://github.com/frontyard
  967. //! based on (hr) translation by Bojan Marković
  968. function bs__translate(number, withoutSuffix, key) {
  969. var result = number + ' ';
  970. switch (key) {
  971. case 'm':
  972. return withoutSuffix ? 'jedna minuta' : 'jedne minute';
  973. case 'mm':
  974. if (number === 1) {
  975. result += 'minuta';
  976. } else if (number === 2 || number === 3 || number === 4) {
  977. result += 'minute';
  978. } else {
  979. result += 'minuta';
  980. }
  981. return result;
  982. case 'h':
  983. return withoutSuffix ? 'jedan sat' : 'jednog sata';
  984. case 'hh':
  985. if (number === 1) {
  986. result += 'sat';
  987. } else if (number === 2 || number === 3 || number === 4) {
  988. result += 'sata';
  989. } else {
  990. result += 'sati';
  991. }
  992. return result;
  993. case 'dd':
  994. if (number === 1) {
  995. result += 'dan';
  996. } else {
  997. result += 'dana';
  998. }
  999. return result;
  1000. case 'MM':
  1001. if (number === 1) {
  1002. result += 'mjesec';
  1003. } else if (number === 2 || number === 3 || number === 4) {
  1004. result += 'mjeseca';
  1005. } else {
  1006. result += 'mjeseci';
  1007. }
  1008. return result;
  1009. case 'yy':
  1010. if (number === 1) {
  1011. result += 'godina';
  1012. } else if (number === 2 || number === 3 || number === 4) {
  1013. result += 'godine';
  1014. } else {
  1015. result += 'godina';
  1016. }
  1017. return result;
  1018. }
  1019. }
  1020. var bs = moment.defineLocale('bs', {
  1021. months : 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'),
  1022. monthsShort : 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'),
  1023. monthsParseExact: true,
  1024. weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
  1025. weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  1026. weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'),
  1027. weekdaysParseExact : true,
  1028. longDateFormat : {
  1029. LT : 'H:mm',
  1030. LTS : 'H:mm:ss',
  1031. L : 'DD. MM. YYYY',
  1032. LL : 'D. MMMM YYYY',
  1033. LLL : 'D. MMMM YYYY H:mm',
  1034. LLLL : 'dddd, D. MMMM YYYY H:mm'
  1035. },
  1036. calendar : {
  1037. sameDay : '[danas u] LT',
  1038. nextDay : '[sutra u] LT',
  1039. nextWeek : function () {
  1040. switch (this.day()) {
  1041. case 0:
  1042. return '[u] [nedjelju] [u] LT';
  1043. case 3:
  1044. return '[u] [srijedu] [u] LT';
  1045. case 6:
  1046. return '[u] [subotu] [u] LT';
  1047. case 1:
  1048. case 2:
  1049. case 4:
  1050. case 5:
  1051. return '[u] dddd [u] LT';
  1052. }
  1053. },
  1054. lastDay : '[jučer u] LT',
  1055. lastWeek : function () {
  1056. switch (this.day()) {
  1057. case 0:
  1058. case 3:
  1059. return '[prošlu] dddd [u] LT';
  1060. case 6:
  1061. return '[prošle] [subote] [u] LT';
  1062. case 1:
  1063. case 2:
  1064. case 4:
  1065. case 5:
  1066. return '[prošli] dddd [u] LT';
  1067. }
  1068. },
  1069. sameElse : 'L'
  1070. },
  1071. relativeTime : {
  1072. future : 'za %s',
  1073. past : 'prije %s',
  1074. s : 'par sekundi',
  1075. m : bs__translate,
  1076. mm : bs__translate,
  1077. h : bs__translate,
  1078. hh : bs__translate,
  1079. d : 'dan',
  1080. dd : bs__translate,
  1081. M : 'mjesec',
  1082. MM : bs__translate,
  1083. y : 'godinu',
  1084. yy : bs__translate
  1085. },
  1086. ordinalParse: /\d{1,2}\./,
  1087. ordinal : '%d.',
  1088. week : {
  1089. dow : 1, // Monday is the first day of the week.
  1090. doy : 7 // The week that contains Jan 1st is the first week of the year.
  1091. }
  1092. });
  1093. //! moment.js locale configuration
  1094. //! locale : catalan (ca)
  1095. //! author : Juan G. Hurtado : https://github.com/juanghurtado
  1096. var ca = moment.defineLocale('ca', {
  1097. months : 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'),
  1098. monthsShort : 'gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.'.split('_'),
  1099. monthsParseExact : true,
  1100. weekdays : 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'),
  1101. weekdaysShort : 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
  1102. weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'),
  1103. weekdaysParseExact : true,
  1104. longDateFormat : {
  1105. LT : 'H:mm',
  1106. LTS : 'H:mm:ss',
  1107. L : 'DD/MM/YYYY',
  1108. LL : 'D MMMM YYYY',
  1109. LLL : 'D MMMM YYYY H:mm',
  1110. LLLL : 'dddd D MMMM YYYY H:mm'
  1111. },
  1112. calendar : {
  1113. sameDay : function () {
  1114. return '[avui a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
  1115. },
  1116. nextDay : function () {
  1117. return '[demà a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
  1118. },
  1119. nextWeek : function () {
  1120. return 'dddd [a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
  1121. },
  1122. lastDay : function () {
  1123. return '[ahir a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
  1124. },
  1125. lastWeek : function () {
  1126. return '[el] dddd [passat a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
  1127. },
  1128. sameElse : 'L'
  1129. },
  1130. relativeTime : {
  1131. future : 'en %s',
  1132. past : 'fa %s',
  1133. s : 'uns segons',
  1134. m : 'un minut',
  1135. mm : '%d minuts',
  1136. h : 'una hora',
  1137. hh : '%d hores',
  1138. d : 'un dia',
  1139. dd : '%d dies',
  1140. M : 'un mes',
  1141. MM : '%d mesos',
  1142. y : 'un any',
  1143. yy : '%d anys'
  1144. },
  1145. ordinalParse: /\d{1,2}(r|n|t|è|a)/,
  1146. ordinal : function (number, period) {
  1147. var output = (number === 1) ? 'r' :
  1148. (number === 2) ? 'n' :
  1149. (number === 3) ? 'r' :
  1150. (number === 4) ? 't' : 'è';
  1151. if (period === 'w' || period === 'W') {
  1152. output = 'a';
  1153. }
  1154. return number + output;
  1155. },
  1156. week : {
  1157. dow : 1, // Monday is the first day of the week.
  1158. doy : 4 // The week that contains Jan 4th is the first week of the year.
  1159. }
  1160. });
  1161. //! moment.js locale configuration
  1162. //! locale : czech (cs)
  1163. //! author : petrbela : https://github.com/petrbela
  1164. var cs__months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'),
  1165. cs__monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_');
  1166. function cs__plural(n) {
  1167. return (n > 1) && (n < 5) && (~~(n / 10) !== 1);
  1168. }
  1169. function cs__translate(number, withoutSuffix, key, isFuture) {
  1170. var result = number + ' ';
  1171. switch (key) {
  1172. case 's': // a few seconds / in a few seconds / a few seconds ago
  1173. return (withoutSuffix || isFuture) ? 'pár sekund' : 'pár sekundami';
  1174. case 'm': // a minute / in a minute / a minute ago
  1175. return withoutSuffix ? 'minuta' : (isFuture ? 'minutu' : 'minutou');
  1176. case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
  1177. if (withoutSuffix || isFuture) {
  1178. return result + (cs__plural(number) ? 'minuty' : 'minut');
  1179. } else {
  1180. return result + 'minutami';
  1181. }
  1182. break;
  1183. case 'h': // an hour / in an hour / an hour ago
  1184. return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou');
  1185. case 'hh': // 9 hours / in 9 hours / 9 hours ago
  1186. if (withoutSuffix || isFuture) {
  1187. return result + (cs__plural(number) ? 'hodiny' : 'hodin');
  1188. } else {
  1189. return result + 'hodinami';
  1190. }
  1191. break;
  1192. case 'd': // a day / in a day / a day ago
  1193. return (withoutSuffix || isFuture) ? 'den' : 'dnem';
  1194. case 'dd': // 9 days / in 9 days / 9 days ago
  1195. if (withoutSuffix || isFuture) {
  1196. return result + (cs__plural(number) ? 'dny' : 'dní');
  1197. } else {
  1198. return result + 'dny';
  1199. }
  1200. break;
  1201. case 'M': // a month / in a month / a month ago
  1202. return (withoutSuffix || isFuture) ? 'měsíc' : 'měsícem';
  1203. case 'MM': // 9 months / in 9 months / 9 months ago
  1204. if (withoutSuffix || isFuture) {
  1205. return result + (cs__plural(number) ? 'měsíce' : 'měsíců');
  1206. } else {
  1207. return result + 'měsíci';
  1208. }
  1209. break;
  1210. case 'y': // a year / in a year / a year ago
  1211. return (withoutSuffix || isFuture) ? 'rok' : 'rokem';
  1212. case 'yy': // 9 years / in 9 years / 9 years ago
  1213. if (withoutSuffix || isFuture) {
  1214. return result + (cs__plural(number) ? 'roky' : 'let');
  1215. } else {
  1216. return result + 'lety';
  1217. }
  1218. break;
  1219. }
  1220. }
  1221. var cs = moment.defineLocale('cs', {
  1222. months : cs__months,
  1223. monthsShort : cs__monthsShort,
  1224. monthsParse : (function (months, monthsShort) {
  1225. var i, _monthsParse = [];
  1226. for (i = 0; i < 12; i++) {
  1227. // use custom parser to solve problem with July (červenec)
  1228. _monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i');
  1229. }
  1230. return _monthsParse;
  1231. }(cs__months, cs__monthsShort)),
  1232. shortMonthsParse : (function (monthsShort) {
  1233. var i, _shortMonthsParse = [];
  1234. for (i = 0; i < 12; i++) {
  1235. _shortMonthsParse[i] = new RegExp('^' + monthsShort[i] + '$', 'i');
  1236. }
  1237. return _shortMonthsParse;
  1238. }(cs__monthsShort)),
  1239. longMonthsParse : (function (months) {
  1240. var i, _longMonthsParse = [];
  1241. for (i = 0; i < 12; i++) {
  1242. _longMonthsParse[i] = new RegExp('^' + months[i] + '$', 'i');
  1243. }
  1244. return _longMonthsParse;
  1245. }(cs__months)),
  1246. weekdays : 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
  1247. weekdaysShort : 'ne_po_út_st_čt_pá_so'.split('_'),
  1248. weekdaysMin : 'ne_po_út_st_čt_pá_so'.split('_'),
  1249. longDateFormat : {
  1250. LT: 'H:mm',
  1251. LTS : 'H:mm:ss',
  1252. L : 'DD.MM.YYYY',
  1253. LL : 'D. MMMM YYYY',
  1254. LLL : 'D. MMMM YYYY H:mm',
  1255. LLLL : 'dddd D. MMMM YYYY H:mm'
  1256. },
  1257. calendar : {
  1258. sameDay: '[dnes v] LT',
  1259. nextDay: '[zítra v] LT',
  1260. nextWeek: function () {
  1261. switch (this.day()) {
  1262. case 0:
  1263. return '[v neděli v] LT';
  1264. case 1:
  1265. case 2:
  1266. return '[v] dddd [v] LT';
  1267. case 3:
  1268. return '[ve středu v] LT';
  1269. case 4:
  1270. return '[ve čtvrtek v] LT';
  1271. case 5:
  1272. return '[v pátek v] LT';
  1273. case 6:
  1274. return '[v sobotu v] LT';
  1275. }
  1276. },
  1277. lastDay: '[včera v] LT',
  1278. lastWeek: function () {
  1279. switch (this.day()) {
  1280. case 0:
  1281. return '[minulou neděli v] LT';
  1282. case 1:
  1283. case 2:
  1284. return '[minulé] dddd [v] LT';
  1285. case 3:
  1286. return '[minulou středu v] LT';
  1287. case 4:
  1288. case 5:
  1289. return '[minulý] dddd [v] LT';
  1290. case 6:
  1291. return '[minulou sobotu v] LT';
  1292. }
  1293. },
  1294. sameElse: 'L'
  1295. },
  1296. relativeTime : {
  1297. future : 'za %s',
  1298. past : 'před %s',
  1299. s : cs__translate,
  1300. m : cs__translate,
  1301. mm : cs__translate,
  1302. h : cs__translate,
  1303. hh : cs__translate,
  1304. d : cs__translate,
  1305. dd : cs__translate,
  1306. M : cs__translate,
  1307. MM : cs__translate,
  1308. y : cs__translate,
  1309. yy : cs__translate
  1310. },
  1311. ordinalParse : /\d{1,2}\./,
  1312. ordinal : '%d.',
  1313. week : {
  1314. dow : 1, // Monday is the first day of the week.
  1315. doy : 4 // The week that contains Jan 4th is the first week of the year.
  1316. }
  1317. });
  1318. //! moment.js locale configuration
  1319. //! locale : chuvash (cv)
  1320. //! author : Anatoly Mironov : https://github.com/mirontoli
  1321. var cv = moment.defineLocale('cv', {
  1322. months : 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'),
  1323. monthsShort : 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
  1324. weekdays : 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'),
  1325. weekdaysShort : 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
  1326. weekdaysMin : 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
  1327. longDateFormat : {
  1328. LT : 'HH:mm',
  1329. LTS : 'HH:mm:ss',
  1330. L : 'DD-MM-YYYY',
  1331. LL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
  1332. LLL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
  1333. LLLL : 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm'
  1334. },
  1335. calendar : {
  1336. sameDay: '[Паян] LT [сехетре]',
  1337. nextDay: '[Ыран] LT [сехетре]',
  1338. lastDay: '[Ӗнер] LT [сехетре]',
  1339. nextWeek: '[Ҫитес] dddd LT [сехетре]',
  1340. lastWeek: '[Иртнӗ] dddd LT [сехетре]',
  1341. sameElse: 'L'
  1342. },
  1343. relativeTime : {
  1344. future : function (output) {
  1345. var affix = /сехет$/i.exec(output) ? 'рен' : /ҫул$/i.exec(output) ? 'тан' : 'ран';
  1346. return output + affix;
  1347. },
  1348. past : '%s каялла',
  1349. s : 'пӗр-ик ҫеккунт',
  1350. m : 'пӗр минут',
  1351. mm : '%d минут',
  1352. h : 'пӗр сехет',
  1353. hh : '%d сехет',
  1354. d : 'пӗр кун',
  1355. dd : '%d кун',
  1356. M : 'пӗр уйӑх',
  1357. MM : '%d уйӑх',
  1358. y : 'пӗр ҫул',
  1359. yy : '%d ҫул'
  1360. },
  1361. ordinalParse: /\d{1,2}-мӗш/,
  1362. ordinal : '%d-мӗш',
  1363. week : {
  1364. dow : 1, // Monday is the first day of the week.
  1365. doy : 7 // The week that contains Jan 1st is the first week of the year.
  1366. }
  1367. });
  1368. //! moment.js locale configuration
  1369. //! locale : Welsh (cy)
  1370. //! author : Robert Allen
  1371. var cy = moment.defineLocale('cy', {
  1372. months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'),
  1373. monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'),
  1374. weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'),
  1375. weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
  1376. weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
  1377. weekdaysParseExact : true,
  1378. // time formats are the same as en-gb
  1379. longDateFormat: {
  1380. LT: 'HH:mm',
  1381. LTS : 'HH:mm:ss',
  1382. L: 'DD/MM/YYYY',
  1383. LL: 'D MMMM YYYY',
  1384. LLL: 'D MMMM YYYY HH:mm',
  1385. LLLL: 'dddd, D MMMM YYYY HH:mm'
  1386. },
  1387. calendar: {
  1388. sameDay: '[Heddiw am] LT',
  1389. nextDay: '[Yfory am] LT',
  1390. nextWeek: 'dddd [am] LT',
  1391. lastDay: '[Ddoe am] LT',
  1392. lastWeek: 'dddd [diwethaf am] LT',
  1393. sameElse: 'L'
  1394. },
  1395. relativeTime: {
  1396. future: 'mewn %s',
  1397. past: '%s yn ôl',
  1398. s: 'ychydig eiliadau',
  1399. m: 'munud',
  1400. mm: '%d munud',
  1401. h: 'awr',
  1402. hh: '%d awr',
  1403. d: 'diwrnod',
  1404. dd: '%d diwrnod',
  1405. M: 'mis',
  1406. MM: '%d mis',
  1407. y: 'blwyddyn',
  1408. yy: '%d flynedd'
  1409. },
  1410. ordinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
  1411. // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
  1412. ordinal: function (number) {
  1413. var b = number,
  1414. output = '',
  1415. lookup = [
  1416. '', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed', // 1af to 10fed
  1417. 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed' // 11eg to 20fed
  1418. ];
  1419. if (b > 20) {
  1420. if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
  1421. output = 'fed'; // not 30ain, 70ain or 90ain
  1422. } else {
  1423. output = 'ain';
  1424. }
  1425. } else if (b > 0) {
  1426. output = lookup[b];
  1427. }
  1428. return number + output;
  1429. },
  1430. week : {
  1431. dow : 1, // Monday is the first day of the week.
  1432. doy : 4 // The week that contains Jan 4th is the first week of the year.
  1433. }
  1434. });
  1435. //! moment.js locale configuration
  1436. //! locale : danish (da)
  1437. //! author : Ulrik Nielsen : https://github.com/mrbase
  1438. var da = moment.defineLocale('da', {
  1439. months : 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'),
  1440. monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  1441. weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  1442. weekdaysShort : 'søn_man_tir_ons_tor_fre_lør'.split('_'),
  1443. weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
  1444. longDateFormat : {
  1445. LT : 'HH:mm',
  1446. LTS : 'HH:mm:ss',
  1447. L : 'DD/MM/YYYY',
  1448. LL : 'D. MMMM YYYY',
  1449. LLL : 'D. MMMM YYYY HH:mm',
  1450. LLLL : 'dddd [d.] D. MMMM YYYY HH:mm'
  1451. },
  1452. calendar : {
  1453. sameDay : '[I dag kl.] LT',
  1454. nextDay : '[I morgen kl.] LT',
  1455. nextWeek : 'dddd [kl.] LT',
  1456. lastDay : '[I går kl.] LT',
  1457. lastWeek : '[sidste] dddd [kl] LT',
  1458. sameElse : 'L'
  1459. },
  1460. relativeTime : {
  1461. future : 'om %s',
  1462. past : '%s siden',
  1463. s : 'få sekunder',
  1464. m : 'et minut',
  1465. mm : '%d minutter',
  1466. h : 'en time',
  1467. hh : '%d timer',
  1468. d : 'en dag',
  1469. dd : '%d dage',
  1470. M : 'en måned',
  1471. MM : '%d måneder',
  1472. y : 'et år',
  1473. yy : '%d år'
  1474. },
  1475. ordinalParse: /\d{1,2}\./,
  1476. ordinal : '%d.',
  1477. week : {
  1478. dow : 1, // Monday is the first day of the week.
  1479. doy : 4 // The week that contains Jan 4th is the first week of the year.
  1480. }
  1481. });
  1482. //! moment.js locale configuration
  1483. //! locale : austrian german (de-at)
  1484. //! author : lluchs : https://github.com/lluchs
  1485. //! author: Menelion Elensúle: https://github.com/Oire
  1486. //! author : Martin Groller : https://github.com/MadMG
  1487. //! author : Mikolaj Dadela : https://github.com/mik01aj
  1488. function de_at__processRelativeTime(number, withoutSuffix, key, isFuture) {
  1489. var format = {
  1490. 'm': ['eine Minute', 'einer Minute'],
  1491. 'h': ['eine Stunde', 'einer Stunde'],
  1492. 'd': ['ein Tag', 'einem Tag'],
  1493. 'dd': [number + ' Tage', number + ' Tagen'],
  1494. 'M': ['ein Monat', 'einem Monat'],
  1495. 'MM': [number + ' Monate', number + ' Monaten'],
  1496. 'y': ['ein Jahr', 'einem Jahr'],
  1497. 'yy': [number + ' Jahre', number + ' Jahren']
  1498. };
  1499. return withoutSuffix ? format[key][0] : format[key][1];
  1500. }
  1501. var de_at = moment.defineLocale('de-at', {
  1502. months : 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
  1503. monthsShort : 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
  1504. monthsParseExact : true,
  1505. weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
  1506. weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  1507. weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  1508. weekdaysParseExact : true,
  1509. longDateFormat : {
  1510. LT: 'HH:mm',
  1511. LTS: 'HH:mm:ss',
  1512. L : 'DD.MM.YYYY',
  1513. LL : 'D. MMMM YYYY',
  1514. LLL : 'D. MMMM YYYY HH:mm',
  1515. LLLL : 'dddd, D. MMMM YYYY HH:mm'
  1516. },
  1517. calendar : {
  1518. sameDay: '[heute um] LT [Uhr]',
  1519. sameElse: 'L',
  1520. nextDay: '[morgen um] LT [Uhr]',
  1521. nextWeek: 'dddd [um] LT [Uhr]',
  1522. lastDay: '[gestern um] LT [Uhr]',
  1523. lastWeek: '[letzten] dddd [um] LT [Uhr]'
  1524. },
  1525. relativeTime : {
  1526. future : 'in %s',
  1527. past : 'vor %s',
  1528. s : 'ein paar Sekunden',
  1529. m : de_at__processRelativeTime,
  1530. mm : '%d Minuten',
  1531. h : de_at__processRelativeTime,
  1532. hh : '%d Stunden',
  1533. d : de_at__processRelativeTime,
  1534. dd : de_at__processRelativeTime,
  1535. M : de_at__processRelativeTime,
  1536. MM : de_at__processRelativeTime,
  1537. y : de_at__processRelativeTime,
  1538. yy : de_at__processRelativeTime
  1539. },
  1540. ordinalParse: /\d{1,2}\./,
  1541. ordinal : '%d.',
  1542. week : {
  1543. dow : 1, // Monday is the first day of the week.
  1544. doy : 4 // The week that contains Jan 4th is the first week of the year.
  1545. }
  1546. });
  1547. //! moment.js locale configuration
  1548. //! locale : german (de)
  1549. //! author : lluchs : https://github.com/lluchs
  1550. //! author: Menelion Elensúle: https://github.com/Oire
  1551. //! author : Mikolaj Dadela : https://github.com/mik01aj
  1552. function de__processRelativeTime(number, withoutSuffix, key, isFuture) {
  1553. var format = {
  1554. 'm': ['eine Minute', 'einer Minute'],
  1555. 'h': ['eine Stunde', 'einer Stunde'],
  1556. 'd': ['ein Tag', 'einem Tag'],
  1557. 'dd': [number + ' Tage', number + ' Tagen'],
  1558. 'M': ['ein Monat', 'einem Monat'],
  1559. 'MM': [number + ' Monate', number + ' Monaten'],
  1560. 'y': ['ein Jahr', 'einem Jahr'],
  1561. 'yy': [number + ' Jahre', number + ' Jahren']
  1562. };
  1563. return withoutSuffix ? format[key][0] : format[key][1];
  1564. }
  1565. var de = moment.defineLocale('de', {
  1566. months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
  1567. monthsShort : 'Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
  1568. monthsParseExact : true,
  1569. weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
  1570. weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  1571. weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  1572. weekdaysParseExact : true,
  1573. longDateFormat : {
  1574. LT: 'HH:mm',
  1575. LTS: 'HH:mm:ss',
  1576. L : 'DD.MM.YYYY',
  1577. LL : 'D. MMMM YYYY',
  1578. LLL : 'D. MMMM YYYY HH:mm',
  1579. LLLL : 'dddd, D. MMMM YYYY HH:mm'
  1580. },
  1581. calendar : {
  1582. sameDay: '[heute um] LT [Uhr]',
  1583. sameElse: 'L',
  1584. nextDay: '[morgen um] LT [Uhr]',
  1585. nextWeek: 'dddd [um] LT [Uhr]',
  1586. lastDay: '[gestern um] LT [Uhr]',
  1587. lastWeek: '[letzten] dddd [um] LT [Uhr]'
  1588. },
  1589. relativeTime : {
  1590. future : 'in %s',
  1591. past : 'vor %s',
  1592. s : 'ein paar Sekunden',
  1593. m : de__processRelativeTime,
  1594. mm : '%d Minuten',
  1595. h : de__processRelativeTime,
  1596. hh : '%d Stunden',
  1597. d : de__processRelativeTime,
  1598. dd : de__processRelativeTime,
  1599. M : de__processRelativeTime,
  1600. MM : de__processRelativeTime,
  1601. y : de__processRelativeTime,
  1602. yy : de__processRelativeTime
  1603. },
  1604. ordinalParse: /\d{1,2}\./,
  1605. ordinal : '%d.',
  1606. week : {
  1607. dow : 1, // Monday is the first day of the week.
  1608. doy : 4 // The week that contains Jan 4th is the first week of the year.
  1609. }
  1610. });
  1611. //! moment.js locale configuration
  1612. //! locale : dhivehi (dv)
  1613. //! author : Jawish Hameed : https://github.com/jawish
  1614. var dv__months = [
  1615. 'ޖެނުއަރީ',
  1616. 'ފެބްރުއަރީ',
  1617. 'މާރިޗު',
  1618. 'އޭޕްރީލު',
  1619. 'މޭ',
  1620. 'ޖޫން',
  1621. 'ޖުލައި',
  1622. 'އޯގަސްޓު',
  1623. 'ސެޕްޓެމްބަރު',
  1624. 'އޮކްޓޯބަރު',
  1625. 'ނޮވެމްބަރު',
  1626. 'ޑިސެމްބަރު'
  1627. ], dv__weekdays = [
  1628. 'އާދިއްތަ',
  1629. 'ހޯމަ',
  1630. 'އަންގާރަ',
  1631. 'ބުދަ',
  1632. 'ބުރާސްފަތި',
  1633. 'ހުކުރު',
  1634. 'ހޮނިހިރު'
  1635. ];
  1636. var dv = moment.defineLocale('dv', {
  1637. months : dv__months,
  1638. monthsShort : dv__months,
  1639. weekdays : dv__weekdays,
  1640. weekdaysShort : dv__weekdays,
  1641. weekdaysMin : 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
  1642. longDateFormat : {
  1643. LT : 'HH:mm',
  1644. LTS : 'HH:mm:ss',
  1645. L : 'D/M/YYYY',
  1646. LL : 'D MMMM YYYY',
  1647. LLL : 'D MMMM YYYY HH:mm',
  1648. LLLL : 'dddd D MMMM YYYY HH:mm'
  1649. },
  1650. meridiemParse: /މކ|މފ/,
  1651. isPM : function (input) {
  1652. return 'މފ' === input;
  1653. },
  1654. meridiem : function (hour, minute, isLower) {
  1655. if (hour < 12) {
  1656. return 'މކ';
  1657. } else {
  1658. return 'މފ';
  1659. }
  1660. },
  1661. calendar : {
  1662. sameDay : '[މިއަދު] LT',
  1663. nextDay : '[މާދަމާ] LT',
  1664. nextWeek : 'dddd LT',
  1665. lastDay : '[އިއްޔެ] LT',
  1666. lastWeek : '[ފާއިތުވި] dddd LT',
  1667. sameElse : 'L'
  1668. },
  1669. relativeTime : {
  1670. future : 'ތެރޭގައި %s',
  1671. past : 'ކުރިން %s',
  1672. s : 'ސިކުންތުކޮޅެއް',
  1673. m : 'މިނިޓެއް',
  1674. mm : 'މިނިޓު %d',
  1675. h : 'ގަޑިއިރެއް',
  1676. hh : 'ގަޑިއިރު %d',
  1677. d : 'ދުވަހެއް',
  1678. dd : 'ދުވަސް %d',
  1679. M : 'މަހެއް',
  1680. MM : 'މަސް %d',
  1681. y : 'އަހަރެއް',
  1682. yy : 'އަހަރު %d'
  1683. },
  1684. preparse: function (string) {
  1685. return string.replace(/،/g, ',');
  1686. },
  1687. postformat: function (string) {
  1688. return string.replace(/,/g, '،');
  1689. },
  1690. week : {
  1691. dow : 7, // Sunday is the first day of the week.
  1692. doy : 12 // The week that contains Jan 1st is the first week of the year.
  1693. }
  1694. });
  1695. function isFunction(input) {
  1696. return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';
  1697. }
  1698. //! moment.js locale configuration
  1699. //! locale : modern greek (el)
  1700. //! author : Aggelos Karalias : https://github.com/mehiel
  1701. var el = moment.defineLocale('el', {
  1702. monthsNominativeEl : 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'),
  1703. monthsGenitiveEl : 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'),
  1704. months : function (momentToFormat, format) {
  1705. if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM'
  1706. return this._monthsGenitiveEl[momentToFormat.month()];
  1707. } else {
  1708. return this._monthsNominativeEl[momentToFormat.month()];
  1709. }
  1710. },
  1711. monthsShort : 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
  1712. weekdays : 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'),
  1713. weekdaysShort : 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
  1714. weekdaysMin : 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
  1715. meridiem : function (hours, minutes, isLower) {
  1716. if (hours > 11) {
  1717. return isLower ? 'μμ' : 'ΜΜ';
  1718. } else {
  1719. return isLower ? 'πμ' : 'ΠΜ';
  1720. }
  1721. },
  1722. isPM : function (input) {
  1723. return ((input + '').toLowerCase()[0] === 'μ');
  1724. },
  1725. meridiemParse : /[ΠΜ]\.?Μ?\.?/i,
  1726. longDateFormat : {
  1727. LT : 'h:mm A',
  1728. LTS : 'h:mm:ss A',
  1729. L : 'DD/MM/YYYY',
  1730. LL : 'D MMMM YYYY',
  1731. LLL : 'D MMMM YYYY h:mm A',
  1732. LLLL : 'dddd, D MMMM YYYY h:mm A'
  1733. },
  1734. calendarEl : {
  1735. sameDay : '[Σήμερα {}] LT',
  1736. nextDay : '[Αύριο {}] LT',
  1737. nextWeek : 'dddd [{}] LT',
  1738. lastDay : '[Χθες {}] LT',
  1739. lastWeek : function () {
  1740. switch (this.day()) {
  1741. case 6:
  1742. return '[το προηγούμενο] dddd [{}] LT';
  1743. default:
  1744. return '[την προηγούμενη] dddd [{}] LT';
  1745. }
  1746. },
  1747. sameElse : 'L'
  1748. },
  1749. calendar : function (key, mom) {
  1750. var output = this._calendarEl[key],
  1751. hours = mom && mom.hours();
  1752. if (isFunction(output)) {
  1753. output = output.apply(mom);
  1754. }
  1755. return output.replace('{}', (hours % 12 === 1 ? 'στη' : 'στις'));
  1756. },
  1757. relativeTime : {
  1758. future : 'σε %s',
  1759. past : '%s πριν',
  1760. s : 'λίγα δευτερόλεπτα',
  1761. m : 'ένα λεπτό',
  1762. mm : '%d λεπτά',
  1763. h : 'μία ώρα',
  1764. hh : '%d ώρες',
  1765. d : 'μία μέρα',
  1766. dd : '%d μέρες',
  1767. M : 'ένας μήνας',
  1768. MM : '%d μήνες',
  1769. y : 'ένας χρόνος',
  1770. yy : '%d χρόνια'
  1771. },
  1772. ordinalParse: /\d{1,2}η/,
  1773. ordinal: '%dη',
  1774. week : {
  1775. dow : 1, // Monday is the first day of the week.
  1776. doy : 4 // The week that contains Jan 4st is the first week of the year.
  1777. }
  1778. });
  1779. //! moment.js locale configuration
  1780. //! locale : australian english (en-au)
  1781. var en_au = moment.defineLocale('en-au', {
  1782. months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  1783. monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  1784. weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  1785. weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  1786. weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  1787. longDateFormat : {
  1788. LT : 'h:mm A',
  1789. LTS : 'h:mm:ss A',
  1790. L : 'DD/MM/YYYY',
  1791. LL : 'D MMMM YYYY',
  1792. LLL : 'D MMMM YYYY h:mm A',
  1793. LLLL : 'dddd, D MMMM YYYY h:mm A'
  1794. },
  1795. calendar : {
  1796. sameDay : '[Today at] LT',
  1797. nextDay : '[Tomorrow at] LT',
  1798. nextWeek : 'dddd [at] LT',
  1799. lastDay : '[Yesterday at] LT',
  1800. lastWeek : '[Last] dddd [at] LT',
  1801. sameElse : 'L'
  1802. },
  1803. relativeTime : {
  1804. future : 'in %s',
  1805. past : '%s ago',
  1806. s : 'a few seconds',
  1807. m : 'a minute',
  1808. mm : '%d minutes',
  1809. h : 'an hour',
  1810. hh : '%d hours',
  1811. d : 'a day',
  1812. dd : '%d days',
  1813. M : 'a month',
  1814. MM : '%d months',
  1815. y : 'a year',
  1816. yy : '%d years'
  1817. },
  1818. ordinalParse: /\d{1,2}(st|nd|rd|th)/,
  1819. ordinal : function (number) {
  1820. var b = number % 10,
  1821. output = (~~(number % 100 / 10) === 1) ? 'th' :
  1822. (b === 1) ? 'st' :
  1823. (b === 2) ? 'nd' :
  1824. (b === 3) ? 'rd' : 'th';
  1825. return number + output;
  1826. },
  1827. week : {
  1828. dow : 1, // Monday is the first day of the week.
  1829. doy : 4 // The week that contains Jan 4th is the first week of the year.
  1830. }
  1831. });
  1832. //! moment.js locale configuration
  1833. //! locale : canadian english (en-ca)
  1834. //! author : Jonathan Abourbih : https://github.com/jonbca
  1835. var en_ca = moment.defineLocale('en-ca', {
  1836. months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  1837. monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  1838. weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  1839. weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  1840. weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  1841. longDateFormat : {
  1842. LT : 'h:mm A',
  1843. LTS : 'h:mm:ss A',
  1844. L : 'YYYY-MM-DD',
  1845. LL : 'MMMM D, YYYY',
  1846. LLL : 'MMMM D, YYYY h:mm A',
  1847. LLLL : 'dddd, MMMM D, YYYY h:mm A'
  1848. },
  1849. calendar : {
  1850. sameDay : '[Today at] LT',
  1851. nextDay : '[Tomorrow at] LT',
  1852. nextWeek : 'dddd [at] LT',
  1853. lastDay : '[Yesterday at] LT',
  1854. lastWeek : '[Last] dddd [at] LT',
  1855. sameElse : 'L'
  1856. },
  1857. relativeTime : {
  1858. future : 'in %s',
  1859. past : '%s ago',
  1860. s : 'a few seconds',
  1861. m : 'a minute',
  1862. mm : '%d minutes',
  1863. h : 'an hour',
  1864. hh : '%d hours',
  1865. d : 'a day',
  1866. dd : '%d days',
  1867. M : 'a month',
  1868. MM : '%d months',
  1869. y : 'a year',
  1870. yy : '%d years'
  1871. },
  1872. ordinalParse: /\d{1,2}(st|nd|rd|th)/,
  1873. ordinal : function (number) {
  1874. var b = number % 10,
  1875. output = (~~(number % 100 / 10) === 1) ? 'th' :
  1876. (b === 1) ? 'st' :
  1877. (b === 2) ? 'nd' :
  1878. (b === 3) ? 'rd' : 'th';
  1879. return number + output;
  1880. }
  1881. });
  1882. //! moment.js locale configuration
  1883. //! locale : great britain english (en-gb)
  1884. //! author : Chris Gedrim : https://github.com/chrisgedrim
  1885. var en_gb = moment.defineLocale('en-gb', {
  1886. months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  1887. monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  1888. weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  1889. weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  1890. weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  1891. longDateFormat : {
  1892. LT : 'HH:mm',
  1893. LTS : 'HH:mm:ss',
  1894. L : 'DD/MM/YYYY',
  1895. LL : 'D MMMM YYYY',
  1896. LLL : 'D MMMM YYYY HH:mm',
  1897. LLLL : 'dddd, D MMMM YYYY HH:mm'
  1898. },
  1899. calendar : {
  1900. sameDay : '[Today at] LT',
  1901. nextDay : '[Tomorrow at] LT',
  1902. nextWeek : 'dddd [at] LT',
  1903. lastDay : '[Yesterday at] LT',
  1904. lastWeek : '[Last] dddd [at] LT',
  1905. sameElse : 'L'
  1906. },
  1907. relativeTime : {
  1908. future : 'in %s',
  1909. past : '%s ago',
  1910. s : 'a few seconds',
  1911. m : 'a minute',
  1912. mm : '%d minutes',
  1913. h : 'an hour',
  1914. hh : '%d hours',
  1915. d : 'a day',
  1916. dd : '%d days',
  1917. M : 'a month',
  1918. MM : '%d months',
  1919. y : 'a year',
  1920. yy : '%d years'
  1921. },
  1922. ordinalParse: /\d{1,2}(st|nd|rd|th)/,
  1923. ordinal : function (number) {
  1924. var b = number % 10,
  1925. output = (~~(number % 100 / 10) === 1) ? 'th' :
  1926. (b === 1) ? 'st' :
  1927. (b === 2) ? 'nd' :
  1928. (b === 3) ? 'rd' : 'th';
  1929. return number + output;
  1930. },
  1931. week : {
  1932. dow : 1, // Monday is the first day of the week.
  1933. doy : 4 // The week that contains Jan 4th is the first week of the year.
  1934. }
  1935. });
  1936. //! moment.js locale configuration
  1937. //! locale : Irish english (en-ie)
  1938. //! author : Chris Cartlidge : https://github.com/chriscartlidge
  1939. var en_ie = moment.defineLocale('en-ie', {
  1940. months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  1941. monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  1942. weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  1943. weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  1944. weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  1945. longDateFormat : {
  1946. LT : 'HH:mm',
  1947. LTS : 'HH:mm:ss',
  1948. L : 'DD-MM-YYYY',
  1949. LL : 'D MMMM YYYY',
  1950. LLL : 'D MMMM YYYY HH:mm',
  1951. LLLL : 'dddd D MMMM YYYY HH:mm'
  1952. },
  1953. calendar : {
  1954. sameDay : '[Today at] LT',
  1955. nextDay : '[Tomorrow at] LT',
  1956. nextWeek : 'dddd [at] LT',
  1957. lastDay : '[Yesterday at] LT',
  1958. lastWeek : '[Last] dddd [at] LT',
  1959. sameElse : 'L'
  1960. },
  1961. relativeTime : {
  1962. future : 'in %s',
  1963. past : '%s ago',
  1964. s : 'a few seconds',
  1965. m : 'a minute',
  1966. mm : '%d minutes',
  1967. h : 'an hour',
  1968. hh : '%d hours',
  1969. d : 'a day',
  1970. dd : '%d days',
  1971. M : 'a month',
  1972. MM : '%d months',
  1973. y : 'a year',
  1974. yy : '%d years'
  1975. },
  1976. ordinalParse: /\d{1,2}(st|nd|rd|th)/,
  1977. ordinal : function (number) {
  1978. var b = number % 10,
  1979. output = (~~(number % 100 / 10) === 1) ? 'th' :
  1980. (b === 1) ? 'st' :
  1981. (b === 2) ? 'nd' :
  1982. (b === 3) ? 'rd' : 'th';
  1983. return number + output;
  1984. },
  1985. week : {
  1986. dow : 1, // Monday is the first day of the week.
  1987. doy : 4 // The week that contains Jan 4th is the first week of the year.
  1988. }
  1989. });
  1990. //! moment.js locale configuration
  1991. //! locale : New Zealand english (en-nz)
  1992. var en_nz = moment.defineLocale('en-nz', {
  1993. months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  1994. monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  1995. weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  1996. weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  1997. weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  1998. longDateFormat : {
  1999. LT : 'h:mm A',
  2000. LTS : 'h:mm:ss A',
  2001. L : 'DD/MM/YYYY',
  2002. LL : 'D MMMM YYYY',
  2003. LLL : 'D MMMM YYYY h:mm A',
  2004. LLLL : 'dddd, D MMMM YYYY h:mm A'
  2005. },
  2006. calendar : {
  2007. sameDay : '[Today at] LT',
  2008. nextDay : '[Tomorrow at] LT',
  2009. nextWeek : 'dddd [at] LT',
  2010. lastDay : '[Yesterday at] LT',
  2011. lastWeek : '[Last] dddd [at] LT',
  2012. sameElse : 'L'
  2013. },
  2014. relativeTime : {
  2015. future : 'in %s',
  2016. past : '%s ago',
  2017. s : 'a few seconds',
  2018. m : 'a minute',
  2019. mm : '%d minutes',
  2020. h : 'an hour',
  2021. hh : '%d hours',
  2022. d : 'a day',
  2023. dd : '%d days',
  2024. M : 'a month',
  2025. MM : '%d months',
  2026. y : 'a year',
  2027. yy : '%d years'
  2028. },
  2029. ordinalParse: /\d{1,2}(st|nd|rd|th)/,
  2030. ordinal : function (number) {
  2031. var b = number % 10,
  2032. output = (~~(number % 100 / 10) === 1) ? 'th' :
  2033. (b === 1) ? 'st' :
  2034. (b === 2) ? 'nd' :
  2035. (b === 3) ? 'rd' : 'th';
  2036. return number + output;
  2037. },
  2038. week : {
  2039. dow : 1, // Monday is the first day of the week.
  2040. doy : 4 // The week that contains Jan 4th is the first week of the year.
  2041. }
  2042. });
  2043. //! moment.js locale configuration
  2044. //! locale : esperanto (eo)
  2045. //! author : Colin Dean : https://github.com/colindean
  2046. //! komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko.
  2047. //! Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni!
  2048. var eo = moment.defineLocale('eo', {
  2049. months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'),
  2050. monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'),
  2051. weekdays : 'Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato'.split('_'),
  2052. weekdaysShort : 'Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab'.split('_'),
  2053. weekdaysMin : 'Di_Lu_Ma_Me_Ĵa_Ve_Sa'.split('_'),
  2054. longDateFormat : {
  2055. LT : 'HH:mm',
  2056. LTS : 'HH:mm:ss',
  2057. L : 'YYYY-MM-DD',
  2058. LL : 'D[-an de] MMMM, YYYY',
  2059. LLL : 'D[-an de] MMMM, YYYY HH:mm',
  2060. LLLL : 'dddd, [la] D[-an de] MMMM, YYYY HH:mm'
  2061. },
  2062. meridiemParse: /[ap]\.t\.m/i,
  2063. isPM: function (input) {
  2064. return input.charAt(0).toLowerCase() === 'p';
  2065. },
  2066. meridiem : function (hours, minutes, isLower) {
  2067. if (hours > 11) {
  2068. return isLower ? 'p.t.m.' : 'P.T.M.';
  2069. } else {
  2070. return isLower ? 'a.t.m.' : 'A.T.M.';
  2071. }
  2072. },
  2073. calendar : {
  2074. sameDay : '[Hodiaŭ je] LT',
  2075. nextDay : '[Morgaŭ je] LT',
  2076. nextWeek : 'dddd [je] LT',
  2077. lastDay : '[Hieraŭ je] LT',
  2078. lastWeek : '[pasinta] dddd [je] LT',
  2079. sameElse : 'L'
  2080. },
  2081. relativeTime : {
  2082. future : 'je %s',
  2083. past : 'antaŭ %s',
  2084. s : 'sekundoj',
  2085. m : 'minuto',
  2086. mm : '%d minutoj',
  2087. h : 'horo',
  2088. hh : '%d horoj',
  2089. d : 'tago',//ne 'diurno', ĉar estas uzita por proksimumo
  2090. dd : '%d tagoj',
  2091. M : 'monato',
  2092. MM : '%d monatoj',
  2093. y : 'jaro',
  2094. yy : '%d jaroj'
  2095. },
  2096. ordinalParse: /\d{1,2}a/,
  2097. ordinal : '%da',
  2098. week : {
  2099. dow : 1, // Monday is the first day of the week.
  2100. doy : 7 // The week that contains Jan 1st is the first week of the year.
  2101. }
  2102. });
  2103. //! moment.js locale configuration
  2104. //! locale : spanish (es)
  2105. //! author : Julio Napurí : https://github.com/julionc
  2106. var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
  2107. es__monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
  2108. var es = moment.defineLocale('es', {
  2109. months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
  2110. monthsShort : function (m, format) {
  2111. if (/-MMM-/.test(format)) {
  2112. return es__monthsShort[m.month()];
  2113. } else {
  2114. return monthsShortDot[m.month()];
  2115. }
  2116. },
  2117. monthsParseExact : true,
  2118. weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  2119. weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  2120. weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  2121. weekdaysParseExact : true,
  2122. longDateFormat : {
  2123. LT : 'H:mm',
  2124. LTS : 'H:mm:ss',
  2125. L : 'DD/MM/YYYY',
  2126. LL : 'D [de] MMMM [de] YYYY',
  2127. LLL : 'D [de] MMMM [de] YYYY H:mm',
  2128. LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm'
  2129. },
  2130. calendar : {
  2131. sameDay : function () {
  2132. return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
  2133. },
  2134. nextDay : function () {
  2135. return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
  2136. },
  2137. nextWeek : function () {
  2138. return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
  2139. },
  2140. lastDay : function () {
  2141. return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
  2142. },
  2143. lastWeek : function () {
  2144. return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
  2145. },
  2146. sameElse : 'L'
  2147. },
  2148. relativeTime : {
  2149. future : 'en %s',
  2150. past : 'hace %s',
  2151. s : 'unos segundos',
  2152. m : 'un minuto',
  2153. mm : '%d minutos',
  2154. h : 'una hora',
  2155. hh : '%d horas',
  2156. d : 'un día',
  2157. dd : '%d días',
  2158. M : 'un mes',
  2159. MM : '%d meses',
  2160. y : 'un año',
  2161. yy : '%d años'
  2162. },
  2163. ordinalParse : /\d{1,2}º/,
  2164. ordinal : '%dº',
  2165. week : {
  2166. dow : 1, // Monday is the first day of the week.
  2167. doy : 4 // The week that contains Jan 4th is the first week of the year.
  2168. }
  2169. });
  2170. //! moment.js locale configuration
  2171. //! locale : estonian (et)
  2172. //! author : Henry Kehlmann : https://github.com/madhenry
  2173. //! improvements : Illimar Tambek : https://github.com/ragulka
  2174. function et__processRelativeTime(number, withoutSuffix, key, isFuture) {
  2175. var format = {
  2176. 's' : ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
  2177. 'm' : ['ühe minuti', 'üks minut'],
  2178. 'mm': [number + ' minuti', number + ' minutit'],
  2179. 'h' : ['ühe tunni', 'tund aega', 'üks tund'],
  2180. 'hh': [number + ' tunni', number + ' tundi'],
  2181. 'd' : ['ühe päeva', 'üks päev'],
  2182. 'M' : ['kuu aja', 'kuu aega', 'üks kuu'],
  2183. 'MM': [number + ' kuu', number + ' kuud'],
  2184. 'y' : ['ühe aasta', 'aasta', 'üks aasta'],
  2185. 'yy': [number + ' aasta', number + ' aastat']
  2186. };
  2187. if (withoutSuffix) {
  2188. return format[key][2] ? format[key][2] : format[key][1];
  2189. }
  2190. return isFuture ? format[key][0] : format[key][1];
  2191. }
  2192. var et = moment.defineLocale('et', {
  2193. months : 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'),
  2194. monthsShort : 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),
  2195. weekdays : 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'),
  2196. weekdaysShort : 'P_E_T_K_N_R_L'.split('_'),
  2197. weekdaysMin : 'P_E_T_K_N_R_L'.split('_'),
  2198. longDateFormat : {
  2199. LT : 'H:mm',
  2200. LTS : 'H:mm:ss',
  2201. L : 'DD.MM.YYYY',
  2202. LL : 'D. MMMM YYYY',
  2203. LLL : 'D. MMMM YYYY H:mm',
  2204. LLLL : 'dddd, D. MMMM YYYY H:mm'
  2205. },
  2206. calendar : {
  2207. sameDay : '[Täna,] LT',
  2208. nextDay : '[Homme,] LT',
  2209. nextWeek : '[Järgmine] dddd LT',
  2210. lastDay : '[Eile,] LT',
  2211. lastWeek : '[Eelmine] dddd LT',
  2212. sameElse : 'L'
  2213. },
  2214. relativeTime : {
  2215. future : '%s pärast',
  2216. past : '%s tagasi',
  2217. s : et__processRelativeTime,
  2218. m : et__processRelativeTime,
  2219. mm : et__processRelativeTime,
  2220. h : et__processRelativeTime,
  2221. hh : et__processRelativeTime,
  2222. d : et__processRelativeTime,
  2223. dd : '%d päeva',
  2224. M : et__processRelativeTime,
  2225. MM : et__processRelativeTime,
  2226. y : et__processRelativeTime,
  2227. yy : et__processRelativeTime
  2228. },
  2229. ordinalParse: /\d{1,2}\./,
  2230. ordinal : '%d.',
  2231. week : {
  2232. dow : 1, // Monday is the first day of the week.
  2233. doy : 4 // The week that contains Jan 4th is the first week of the year.
  2234. }
  2235. });
  2236. //! moment.js locale configuration
  2237. //! locale : euskara (eu)
  2238. //! author : Eneko Illarramendi : https://github.com/eillarra
  2239. var eu = moment.defineLocale('eu', {
  2240. months : 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'),
  2241. monthsShort : 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'),
  2242. monthsParseExact : true,
  2243. weekdays : 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'),
  2244. weekdaysShort : 'ig._al._ar._az._og._ol._lr.'.split('_'),
  2245. weekdaysMin : 'ig_al_ar_az_og_ol_lr'.split('_'),
  2246. weekdaysParseExact : true,
  2247. longDateFormat : {
  2248. LT : 'HH:mm',
  2249. LTS : 'HH:mm:ss',
  2250. L : 'YYYY-MM-DD',
  2251. LL : 'YYYY[ko] MMMM[ren] D[a]',
  2252. LLL : 'YYYY[ko] MMMM[ren] D[a] HH:mm',
  2253. LLLL : 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
  2254. l : 'YYYY-M-D',
  2255. ll : 'YYYY[ko] MMM D[a]',
  2256. lll : 'YYYY[ko] MMM D[a] HH:mm',
  2257. llll : 'ddd, YYYY[ko] MMM D[a] HH:mm'
  2258. },
  2259. calendar : {
  2260. sameDay : '[gaur] LT[etan]',
  2261. nextDay : '[bihar] LT[etan]',
  2262. nextWeek : 'dddd LT[etan]',
  2263. lastDay : '[atzo] LT[etan]',
  2264. lastWeek : '[aurreko] dddd LT[etan]',
  2265. sameElse : 'L'
  2266. },
  2267. relativeTime : {
  2268. future : '%s barru',
  2269. past : 'duela %s',
  2270. s : 'segundo batzuk',
  2271. m : 'minutu bat',
  2272. mm : '%d minutu',
  2273. h : 'ordu bat',
  2274. hh : '%d ordu',
  2275. d : 'egun bat',
  2276. dd : '%d egun',
  2277. M : 'hilabete bat',
  2278. MM : '%d hilabete',
  2279. y : 'urte bat',
  2280. yy : '%d urte'
  2281. },
  2282. ordinalParse: /\d{1,2}\./,
  2283. ordinal : '%d.',
  2284. week : {
  2285. dow : 1, // Monday is the first day of the week.
  2286. doy : 7 // The week that contains Jan 1st is the first week of the year.
  2287. }
  2288. });
  2289. //! moment.js locale configuration
  2290. //! locale : Persian (fa)
  2291. //! author : Ebrahim Byagowi : https://github.com/ebraminio
  2292. var fa__symbolMap = {
  2293. '1': '۱',
  2294. '2': '۲',
  2295. '3': '۳',
  2296. '4': '۴',
  2297. '5': '۵',
  2298. '6': '۶',
  2299. '7': '۷',
  2300. '8': '۸',
  2301. '9': '۹',
  2302. '0': '۰'
  2303. }, fa__numberMap = {
  2304. '۱': '1',
  2305. '۲': '2',
  2306. '۳': '3',
  2307. '۴': '4',
  2308. '۵': '5',
  2309. '۶': '6',
  2310. '۷': '7',
  2311. '۸': '8',
  2312. '۹': '9',
  2313. '۰': '0'
  2314. };
  2315. var fa = moment.defineLocale('fa', {
  2316. months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
  2317. monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
  2318. weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
  2319. weekdaysShort : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
  2320. weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'),
  2321. weekdaysParseExact : true,
  2322. longDateFormat : {
  2323. LT : 'HH:mm',
  2324. LTS : 'HH:mm:ss',
  2325. L : 'DD/MM/YYYY',
  2326. LL : 'D MMMM YYYY',
  2327. LLL : 'D MMMM YYYY HH:mm',
  2328. LLLL : 'dddd, D MMMM YYYY HH:mm'
  2329. },
  2330. meridiemParse: /قبل از ظهر|بعد از ظهر/,
  2331. isPM: function (input) {
  2332. return /بعد از ظهر/.test(input);
  2333. },
  2334. meridiem : function (hour, minute, isLower) {
  2335. if (hour < 12) {
  2336. return 'قبل از ظهر';
  2337. } else {
  2338. return 'بعد از ظهر';
  2339. }
  2340. },
  2341. calendar : {
  2342. sameDay : '[امروز ساعت] LT',
  2343. nextDay : '[فردا ساعت] LT',
  2344. nextWeek : 'dddd [ساعت] LT',
  2345. lastDay : '[دیروز ساعت] LT',
  2346. lastWeek : 'dddd [پیش] [ساعت] LT',
  2347. sameElse : 'L'
  2348. },
  2349. relativeTime : {
  2350. future : 'در %s',
  2351. past : '%s پیش',
  2352. s : 'چندین ثانیه',
  2353. m : 'یک دقیقه',
  2354. mm : '%d دقیقه',
  2355. h : 'یک ساعت',
  2356. hh : '%d ساعت',
  2357. d : 'یک روز',
  2358. dd : '%d روز',
  2359. M : 'یک ماه',
  2360. MM : '%d ماه',
  2361. y : 'یک سال',
  2362. yy : '%d سال'
  2363. },
  2364. preparse: function (string) {
  2365. return string.replace(/[۰-۹]/g, function (match) {
  2366. return fa__numberMap[match];
  2367. }).replace(/،/g, ',');
  2368. },
  2369. postformat: function (string) {
  2370. return string.replace(/\d/g, function (match) {
  2371. return fa__symbolMap[match];
  2372. }).replace(/,/g, '،');
  2373. },
  2374. ordinalParse: /\d{1,2}م/,
  2375. ordinal : '%dم',
  2376. week : {
  2377. dow : 6, // Saturday is the first day of the week.
  2378. doy : 12 // The week that contains Jan 1st is the first week of the year.
  2379. }
  2380. });
  2381. //! moment.js locale configuration
  2382. //! locale : finnish (fi)
  2383. //! author : Tarmo Aidantausta : https://github.com/bleadof
  2384. var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '),
  2385. numbersFuture = [
  2386. 'nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden',
  2387. numbersPast[7], numbersPast[8], numbersPast[9]
  2388. ];
  2389. function fi__translate(number, withoutSuffix, key, isFuture) {
  2390. var result = '';
  2391. switch (key) {
  2392. case 's':
  2393. return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
  2394. case 'm':
  2395. return isFuture ? 'minuutin' : 'minuutti';
  2396. case 'mm':
  2397. result = isFuture ? 'minuutin' : 'minuuttia';
  2398. break;
  2399. case 'h':
  2400. return isFuture ? 'tunnin' : 'tunti';
  2401. case 'hh':
  2402. result = isFuture ? 'tunnin' : 'tuntia';
  2403. break;
  2404. case 'd':
  2405. return isFuture ? 'päivän' : 'päivä';
  2406. case 'dd':
  2407. result = isFuture ? 'päivän' : 'päivää';
  2408. break;
  2409. case 'M':
  2410. return isFuture ? 'kuukauden' : 'kuukausi';
  2411. case 'MM':
  2412. result = isFuture ? 'kuukauden' : 'kuukautta';
  2413. break;
  2414. case 'y':
  2415. return isFuture ? 'vuoden' : 'vuosi';
  2416. case 'yy':
  2417. result = isFuture ? 'vuoden' : 'vuotta';
  2418. break;
  2419. }
  2420. result = verbalNumber(number, isFuture) + ' ' + result;
  2421. return result;
  2422. }
  2423. function verbalNumber(number, isFuture) {
  2424. return number < 10 ? (isFuture ? numbersFuture[number] : numbersPast[number]) : number;
  2425. }
  2426. var fi = moment.defineLocale('fi', {
  2427. months : 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'),
  2428. monthsShort : 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'),
  2429. weekdays : 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'),
  2430. weekdaysShort : 'su_ma_ti_ke_to_pe_la'.split('_'),
  2431. weekdaysMin : 'su_ma_ti_ke_to_pe_la'.split('_'),
  2432. longDateFormat : {
  2433. LT : 'HH.mm',
  2434. LTS : 'HH.mm.ss',
  2435. L : 'DD.MM.YYYY',
  2436. LL : 'Do MMMM[ta] YYYY',
  2437. LLL : 'Do MMMM[ta] YYYY, [klo] HH.mm',
  2438. LLLL : 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',
  2439. l : 'D.M.YYYY',
  2440. ll : 'Do MMM YYYY',
  2441. lll : 'Do MMM YYYY, [klo] HH.mm',
  2442. llll : 'ddd, Do MMM YYYY, [klo] HH.mm'
  2443. },
  2444. calendar : {
  2445. sameDay : '[tänään] [klo] LT',
  2446. nextDay : '[huomenna] [klo] LT',
  2447. nextWeek : 'dddd [klo] LT',
  2448. lastDay : '[eilen] [klo] LT',
  2449. lastWeek : '[viime] dddd[na] [klo] LT',
  2450. sameElse : 'L'
  2451. },
  2452. relativeTime : {
  2453. future : '%s päästä',
  2454. past : '%s sitten',
  2455. s : fi__translate,
  2456. m : fi__translate,
  2457. mm : fi__translate,
  2458. h : fi__translate,
  2459. hh : fi__translate,
  2460. d : fi__translate,
  2461. dd : fi__translate,
  2462. M : fi__translate,
  2463. MM : fi__translate,
  2464. y : fi__translate,
  2465. yy : fi__translate
  2466. },
  2467. ordinalParse: /\d{1,2}\./,
  2468. ordinal : '%d.',
  2469. week : {
  2470. dow : 1, // Monday is the first day of the week.
  2471. doy : 4 // The week that contains Jan 4th is the first week of the year.
  2472. }
  2473. });
  2474. //! moment.js locale configuration
  2475. //! locale : faroese (fo)
  2476. //! author : Ragnar Johannesen : https://github.com/ragnar123
  2477. var fo = moment.defineLocale('fo', {
  2478. months : 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
  2479. monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
  2480. weekdays : 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'),
  2481. weekdaysShort : 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
  2482. weekdaysMin : 'su_má_tý_mi_hó_fr_le'.split('_'),
  2483. longDateFormat : {
  2484. LT : 'HH:mm',
  2485. LTS : 'HH:mm:ss',
  2486. L : 'DD/MM/YYYY',
  2487. LL : 'D MMMM YYYY',
  2488. LLL : 'D MMMM YYYY HH:mm',
  2489. LLLL : 'dddd D. MMMM, YYYY HH:mm'
  2490. },
  2491. calendar : {
  2492. sameDay : '[Í dag kl.] LT',
  2493. nextDay : '[Í morgin kl.] LT',
  2494. nextWeek : 'dddd [kl.] LT',
  2495. lastDay : '[Í gjár kl.] LT',
  2496. lastWeek : '[síðstu] dddd [kl] LT',
  2497. sameElse : 'L'
  2498. },
  2499. relativeTime : {
  2500. future : 'um %s',
  2501. past : '%s síðani',
  2502. s : 'fá sekund',
  2503. m : 'ein minutt',
  2504. mm : '%d minuttir',
  2505. h : 'ein tími',
  2506. hh : '%d tímar',
  2507. d : 'ein dagur',
  2508. dd : '%d dagar',
  2509. M : 'ein mánaði',
  2510. MM : '%d mánaðir',
  2511. y : 'eitt ár',
  2512. yy : '%d ár'
  2513. },
  2514. ordinalParse: /\d{1,2}\./,
  2515. ordinal : '%d.',
  2516. week : {
  2517. dow : 1, // Monday is the first day of the week.
  2518. doy : 4 // The week that contains Jan 4th is the first week of the year.
  2519. }
  2520. });
  2521. //! moment.js locale configuration
  2522. //! locale : canadian french (fr-ca)
  2523. //! author : Jonathan Abourbih : https://github.com/jonbca
  2524. var fr_ca = moment.defineLocale('fr-ca', {
  2525. months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
  2526. monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
  2527. monthsParseExact : true,
  2528. weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  2529. weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  2530. weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
  2531. weekdaysParseExact : true,
  2532. longDateFormat : {
  2533. LT : 'HH:mm',
  2534. LTS : 'HH:mm:ss',
  2535. L : 'YYYY-MM-DD',
  2536. LL : 'D MMMM YYYY',
  2537. LLL : 'D MMMM YYYY HH:mm',
  2538. LLLL : 'dddd D MMMM YYYY HH:mm'
  2539. },
  2540. calendar : {
  2541. sameDay: '[Aujourd\'hui à] LT',
  2542. nextDay: '[Demain à] LT',
  2543. nextWeek: 'dddd [à] LT',
  2544. lastDay: '[Hier à] LT',
  2545. lastWeek: 'dddd [dernier à] LT',
  2546. sameElse: 'L'
  2547. },
  2548. relativeTime : {
  2549. future : 'dans %s',
  2550. past : 'il y a %s',
  2551. s : 'quelques secondes',
  2552. m : 'une minute',
  2553. mm : '%d minutes',
  2554. h : 'une heure',
  2555. hh : '%d heures',
  2556. d : 'un jour',
  2557. dd : '%d jours',
  2558. M : 'un mois',
  2559. MM : '%d mois',
  2560. y : 'un an',
  2561. yy : '%d ans'
  2562. },
  2563. ordinalParse: /\d{1,2}(er|e)/,
  2564. ordinal : function (number) {
  2565. return number + (number === 1 ? 'er' : 'e');
  2566. }
  2567. });
  2568. //! moment.js locale configuration
  2569. //! locale : swiss french (fr)
  2570. //! author : Gaspard Bucher : https://github.com/gaspard
  2571. var fr_ch = moment.defineLocale('fr-ch', {
  2572. months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
  2573. monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
  2574. monthsParseExact : true,
  2575. weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  2576. weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  2577. weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
  2578. weekdaysParseExact : true,
  2579. longDateFormat : {
  2580. LT : 'HH:mm',
  2581. LTS : 'HH:mm:ss',
  2582. L : 'DD.MM.YYYY',
  2583. LL : 'D MMMM YYYY',
  2584. LLL : 'D MMMM YYYY HH:mm',
  2585. LLLL : 'dddd D MMMM YYYY HH:mm'
  2586. },
  2587. calendar : {
  2588. sameDay: '[Aujourd\'hui à] LT',
  2589. nextDay: '[Demain à] LT',
  2590. nextWeek: 'dddd [à] LT',
  2591. lastDay: '[Hier à] LT',
  2592. lastWeek: 'dddd [dernier à] LT',
  2593. sameElse: 'L'
  2594. },
  2595. relativeTime : {
  2596. future : 'dans %s',
  2597. past : 'il y a %s',
  2598. s : 'quelques secondes',
  2599. m : 'une minute',
  2600. mm : '%d minutes',
  2601. h : 'une heure',
  2602. hh : '%d heures',
  2603. d : 'un jour',
  2604. dd : '%d jours',
  2605. M : 'un mois',
  2606. MM : '%d mois',
  2607. y : 'un an',
  2608. yy : '%d ans'
  2609. },
  2610. ordinalParse: /\d{1,2}(er|e)/,
  2611. ordinal : function (number) {
  2612. return number + (number === 1 ? 'er' : 'e');
  2613. },
  2614. week : {
  2615. dow : 1, // Monday is the first day of the week.
  2616. doy : 4 // The week that contains Jan 4th is the first week of the year.
  2617. }
  2618. });
  2619. //! moment.js locale configuration
  2620. //! locale : french (fr)
  2621. //! author : John Fischer : https://github.com/jfroffice
  2622. var fr = moment.defineLocale('fr', {
  2623. months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
  2624. monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
  2625. monthsParseExact : true,
  2626. weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  2627. weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  2628. weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
  2629. weekdaysParseExact : true,
  2630. longDateFormat : {
  2631. LT : 'HH:mm',
  2632. LTS : 'HH:mm:ss',
  2633. L : 'DD/MM/YYYY',
  2634. LL : 'D MMMM YYYY',
  2635. LLL : 'D MMMM YYYY HH:mm',
  2636. LLLL : 'dddd D MMMM YYYY HH:mm'
  2637. },
  2638. calendar : {
  2639. sameDay: '[Aujourd\'hui à] LT',
  2640. nextDay: '[Demain à] LT',
  2641. nextWeek: 'dddd [à] LT',
  2642. lastDay: '[Hier à] LT',
  2643. lastWeek: 'dddd [dernier à] LT',
  2644. sameElse: 'L'
  2645. },
  2646. relativeTime : {
  2647. future : 'dans %s',
  2648. past : 'il y a %s',
  2649. s : 'quelques secondes',
  2650. m : 'une minute',
  2651. mm : '%d minutes',
  2652. h : 'une heure',
  2653. hh : '%d heures',
  2654. d : 'un jour',
  2655. dd : '%d jours',
  2656. M : 'un mois',
  2657. MM : '%d mois',
  2658. y : 'un an',
  2659. yy : '%d ans'
  2660. },
  2661. ordinalParse: /\d{1,2}(er|)/,
  2662. ordinal : function (number) {
  2663. return number + (number === 1 ? 'er' : '');
  2664. },
  2665. week : {
  2666. dow : 1, // Monday is the first day of the week.
  2667. doy : 4 // The week that contains Jan 4th is the first week of the year.
  2668. }
  2669. });
  2670. //! moment.js locale configuration
  2671. //! locale : frisian (fy)
  2672. //! author : Robin van der Vliet : https://github.com/robin0van0der0v
  2673. var fy__monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),
  2674. fy__monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');
  2675. var fy = moment.defineLocale('fy', {
  2676. months : 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'),
  2677. monthsShort : function (m, format) {
  2678. if (/-MMM-/.test(format)) {
  2679. return fy__monthsShortWithoutDots[m.month()];
  2680. } else {
  2681. return fy__monthsShortWithDots[m.month()];
  2682. }
  2683. },
  2684. monthsParseExact : true,
  2685. weekdays : 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'),
  2686. weekdaysShort : 'si._mo._ti._wo._to._fr._so.'.split('_'),
  2687. weekdaysMin : 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
  2688. weekdaysParseExact : true,
  2689. longDateFormat : {
  2690. LT : 'HH:mm',
  2691. LTS : 'HH:mm:ss',
  2692. L : 'DD-MM-YYYY',
  2693. LL : 'D MMMM YYYY',
  2694. LLL : 'D MMMM YYYY HH:mm',
  2695. LLLL : 'dddd D MMMM YYYY HH:mm'
  2696. },
  2697. calendar : {
  2698. sameDay: '[hjoed om] LT',
  2699. nextDay: '[moarn om] LT',
  2700. nextWeek: 'dddd [om] LT',
  2701. lastDay: '[juster om] LT',
  2702. lastWeek: '[ôfrûne] dddd [om] LT',
  2703. sameElse: 'L'
  2704. },
  2705. relativeTime : {
  2706. future : 'oer %s',
  2707. past : '%s lyn',
  2708. s : 'in pear sekonden',
  2709. m : 'ien minút',
  2710. mm : '%d minuten',
  2711. h : 'ien oere',
  2712. hh : '%d oeren',
  2713. d : 'ien dei',
  2714. dd : '%d dagen',
  2715. M : 'ien moanne',
  2716. MM : '%d moannen',
  2717. y : 'ien jier',
  2718. yy : '%d jierren'
  2719. },
  2720. ordinalParse: /\d{1,2}(ste|de)/,
  2721. ordinal : function (number) {
  2722. return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
  2723. },
  2724. week : {
  2725. dow : 1, // Monday is the first day of the week.
  2726. doy : 4 // The week that contains Jan 4th is the first week of the year.
  2727. }
  2728. });
  2729. //! moment.js locale configuration
  2730. //! locale : great britain scottish gealic (gd)
  2731. //! author : Jon Ashdown : https://github.com/jonashdown
  2732. var gd__months = [
  2733. 'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd'
  2734. ];
  2735. var gd__monthsShort = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh'];
  2736. var gd__weekdays = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'];
  2737. var weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'];
  2738. var weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
  2739. var gd = moment.defineLocale('gd', {
  2740. months : gd__months,
  2741. monthsShort : gd__monthsShort,
  2742. monthsParseExact : true,
  2743. weekdays : gd__weekdays,
  2744. weekdaysShort : weekdaysShort,
  2745. weekdaysMin : weekdaysMin,
  2746. longDateFormat : {
  2747. LT : 'HH:mm',
  2748. LTS : 'HH:mm:ss',
  2749. L : 'DD/MM/YYYY',
  2750. LL : 'D MMMM YYYY',
  2751. LLL : 'D MMMM YYYY HH:mm',
  2752. LLLL : 'dddd, D MMMM YYYY HH:mm'
  2753. },
  2754. calendar : {
  2755. sameDay : '[An-diugh aig] LT',
  2756. nextDay : '[A-màireach aig] LT',
  2757. nextWeek : 'dddd [aig] LT',
  2758. lastDay : '[An-dè aig] LT',
  2759. lastWeek : 'dddd [seo chaidh] [aig] LT',
  2760. sameElse : 'L'
  2761. },
  2762. relativeTime : {
  2763. future : 'ann an %s',
  2764. past : 'bho chionn %s',
  2765. s : 'beagan diogan',
  2766. m : 'mionaid',
  2767. mm : '%d mionaidean',
  2768. h : 'uair',
  2769. hh : '%d uairean',
  2770. d : 'latha',
  2771. dd : '%d latha',
  2772. M : 'mìos',
  2773. MM : '%d mìosan',
  2774. y : 'bliadhna',
  2775. yy : '%d bliadhna'
  2776. },
  2777. ordinalParse : /\d{1,2}(d|na|mh)/,
  2778. ordinal : function (number) {
  2779. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  2780. return number + output;
  2781. },
  2782. week : {
  2783. dow : 1, // Monday is the first day of the week.
  2784. doy : 4 // The week that contains Jan 4th is the first week of the year.
  2785. }
  2786. });
  2787. //! moment.js locale configuration
  2788. //! locale : galician (gl)
  2789. //! author : Juan G. Hurtado : https://github.com/juanghurtado
  2790. var gl = moment.defineLocale('gl', {
  2791. months : 'Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro'.split('_'),
  2792. monthsShort : 'Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.'.split('_'),
  2793. monthsParseExact: true,
  2794. weekdays : 'Domingo_Luns_Martes_Mércores_Xoves_Venres_Sábado'.split('_'),
  2795. weekdaysShort : 'Dom._Lun._Mar._Mér._Xov._Ven._Sáb.'.split('_'),
  2796. weekdaysMin : 'Do_Lu_Ma_Mé_Xo_Ve_Sá'.split('_'),
  2797. weekdaysParseExact : true,
  2798. longDateFormat : {
  2799. LT : 'H:mm',
  2800. LTS : 'H:mm:ss',
  2801. L : 'DD/MM/YYYY',
  2802. LL : 'D MMMM YYYY',
  2803. LLL : 'D MMMM YYYY H:mm',
  2804. LLLL : 'dddd D MMMM YYYY H:mm'
  2805. },
  2806. calendar : {
  2807. sameDay : function () {
  2808. return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
  2809. },
  2810. nextDay : function () {
  2811. return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
  2812. },
  2813. nextWeek : function () {
  2814. return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
  2815. },
  2816. lastDay : function () {
  2817. return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT';
  2818. },
  2819. lastWeek : function () {
  2820. return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
  2821. },
  2822. sameElse : 'L'
  2823. },
  2824. relativeTime : {
  2825. future : function (str) {
  2826. if (str === 'uns segundos') {
  2827. return 'nuns segundos';
  2828. }
  2829. return 'en ' + str;
  2830. },
  2831. past : 'hai %s',
  2832. s : 'uns segundos',
  2833. m : 'un minuto',
  2834. mm : '%d minutos',
  2835. h : 'unha hora',
  2836. hh : '%d horas',
  2837. d : 'un día',
  2838. dd : '%d días',
  2839. M : 'un mes',
  2840. MM : '%d meses',
  2841. y : 'un ano',
  2842. yy : '%d anos'
  2843. },
  2844. ordinalParse : /\d{1,2}º/,
  2845. ordinal : '%dº',
  2846. week : {
  2847. dow : 1, // Monday is the first day of the week.
  2848. doy : 7 // The week that contains Jan 1st is the first week of the year.
  2849. }
  2850. });
  2851. //! moment.js locale configuration
  2852. //! locale : Hebrew (he)
  2853. //! author : Tomer Cohen : https://github.com/tomer
  2854. //! author : Moshe Simantov : https://github.com/DevelopmentIL
  2855. //! author : Tal Ater : https://github.com/TalAter
  2856. var he = moment.defineLocale('he', {
  2857. months : 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'),
  2858. monthsShort : 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),
  2859. weekdays : 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
  2860. weekdaysShort : 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
  2861. weekdaysMin : 'א_ב_ג_ד_ה_ו_ש'.split('_'),
  2862. longDateFormat : {
  2863. LT : 'HH:mm',
  2864. LTS : 'HH:mm:ss',
  2865. L : 'DD/MM/YYYY',
  2866. LL : 'D [ב]MMMM YYYY',
  2867. LLL : 'D [ב]MMMM YYYY HH:mm',
  2868. LLLL : 'dddd, D [ב]MMMM YYYY HH:mm',
  2869. l : 'D/M/YYYY',
  2870. ll : 'D MMM YYYY',
  2871. lll : 'D MMM YYYY HH:mm',
  2872. llll : 'ddd, D MMM YYYY HH:mm'
  2873. },
  2874. calendar : {
  2875. sameDay : '[היום ב־]LT',
  2876. nextDay : '[מחר ב־]LT',
  2877. nextWeek : 'dddd [בשעה] LT',
  2878. lastDay : '[אתמול ב־]LT',
  2879. lastWeek : '[ביום] dddd [האחרון בשעה] LT',
  2880. sameElse : 'L'
  2881. },
  2882. relativeTime : {
  2883. future : 'בעוד %s',
  2884. past : 'לפני %s',
  2885. s : 'מספר שניות',
  2886. m : 'דקה',
  2887. mm : '%d דקות',
  2888. h : 'שעה',
  2889. hh : function (number) {
  2890. if (number === 2) {
  2891. return 'שעתיים';
  2892. }
  2893. return number + ' שעות';
  2894. },
  2895. d : 'יום',
  2896. dd : function (number) {
  2897. if (number === 2) {
  2898. return 'יומיים';
  2899. }
  2900. return number + ' ימים';
  2901. },
  2902. M : 'חודש',
  2903. MM : function (number) {
  2904. if (number === 2) {
  2905. return 'חודשיים';
  2906. }
  2907. return number + ' חודשים';
  2908. },
  2909. y : 'שנה',
  2910. yy : function (number) {
  2911. if (number === 2) {
  2912. return 'שנתיים';
  2913. } else if (number % 10 === 0 && number !== 10) {
  2914. return number + ' שנה';
  2915. }
  2916. return number + ' שנים';
  2917. }
  2918. },
  2919. meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
  2920. isPM : function (input) {
  2921. return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input);
  2922. },
  2923. meridiem : function (hour, minute, isLower) {
  2924. if (hour < 5) {
  2925. return 'לפנות בוקר';
  2926. } else if (hour < 10) {
  2927. return 'בבוקר';
  2928. } else if (hour < 12) {
  2929. return isLower ? 'לפנה"צ' : 'לפני הצהריים';
  2930. } else if (hour < 18) {
  2931. return isLower ? 'אחה"צ' : 'אחרי הצהריים';
  2932. } else {
  2933. return 'בערב';
  2934. }
  2935. }
  2936. });
  2937. //! moment.js locale configuration
  2938. //! locale : hindi (hi)
  2939. //! author : Mayank Singhal : https://github.com/mayanksinghal
  2940. var hi__symbolMap = {
  2941. '1': '१',
  2942. '2': '२',
  2943. '3': '३',
  2944. '4': '४',
  2945. '5': '५',
  2946. '6': '६',
  2947. '7': '७',
  2948. '8': '८',
  2949. '9': '९',
  2950. '0': '०'
  2951. },
  2952. hi__numberMap = {
  2953. '१': '1',
  2954. '२': '2',
  2955. '३': '3',
  2956. '४': '4',
  2957. '५': '5',
  2958. '६': '6',
  2959. '७': '7',
  2960. '८': '8',
  2961. '९': '9',
  2962. '०': '0'
  2963. };
  2964. var hi = moment.defineLocale('hi', {
  2965. months : 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'),
  2966. monthsShort : 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),
  2967. monthsParseExact: true,
  2968. weekdays : 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
  2969. weekdaysShort : 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),
  2970. weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),
  2971. longDateFormat : {
  2972. LT : 'A h:mm बजे',
  2973. LTS : 'A h:mm:ss बजे',
  2974. L : 'DD/MM/YYYY',
  2975. LL : 'D MMMM YYYY',
  2976. LLL : 'D MMMM YYYY, A h:mm बजे',
  2977. LLLL : 'dddd, D MMMM YYYY, A h:mm बजे'
  2978. },
  2979. calendar : {
  2980. sameDay : '[आज] LT',
  2981. nextDay : '[कल] LT',
  2982. nextWeek : 'dddd, LT',
  2983. lastDay : '[कल] LT',
  2984. lastWeek : '[पिछले] dddd, LT',
  2985. sameElse : 'L'
  2986. },
  2987. relativeTime : {
  2988. future : '%s में',
  2989. past : '%s पहले',
  2990. s : 'कुछ ही क्षण',
  2991. m : 'एक मिनट',
  2992. mm : '%d मिनट',
  2993. h : 'एक घंटा',
  2994. hh : '%d घंटे',
  2995. d : 'एक दिन',
  2996. dd : '%d दिन',
  2997. M : 'एक महीने',
  2998. MM : '%d महीने',
  2999. y : 'एक वर्ष',
  3000. yy : '%d वर्ष'
  3001. },
  3002. preparse: function (string) {
  3003. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  3004. return hi__numberMap[match];
  3005. });
  3006. },
  3007. postformat: function (string) {
  3008. return string.replace(/\d/g, function (match) {
  3009. return hi__symbolMap[match];
  3010. });
  3011. },
  3012. // Hindi notation for meridiems are quite fuzzy in practice. While there exists
  3013. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
  3014. meridiemParse: /रात|सुबह|दोपहर|शाम/,
  3015. meridiemHour : function (hour, meridiem) {
  3016. if (hour === 12) {
  3017. hour = 0;
  3018. }
  3019. if (meridiem === 'रात') {
  3020. return hour < 4 ? hour : hour + 12;
  3021. } else if (meridiem === 'सुबह') {
  3022. return hour;
  3023. } else if (meridiem === 'दोपहर') {
  3024. return hour >= 10 ? hour : hour + 12;
  3025. } else if (meridiem === 'शाम') {
  3026. return hour + 12;
  3027. }
  3028. },
  3029. meridiem : function (hour, minute, isLower) {
  3030. if (hour < 4) {
  3031. return 'रात';
  3032. } else if (hour < 10) {
  3033. return 'सुबह';
  3034. } else if (hour < 17) {
  3035. return 'दोपहर';
  3036. } else if (hour < 20) {
  3037. return 'शाम';
  3038. } else {
  3039. return 'रात';
  3040. }
  3041. },
  3042. week : {
  3043. dow : 0, // Sunday is the first day of the week.
  3044. doy : 6 // The week that contains Jan 1st is the first week of the year.
  3045. }
  3046. });
  3047. //! moment.js locale configuration
  3048. //! locale : hrvatski (hr)
  3049. //! author : Bojan Marković : https://github.com/bmarkovic
  3050. function hr__translate(number, withoutSuffix, key) {
  3051. var result = number + ' ';
  3052. switch (key) {
  3053. case 'm':
  3054. return withoutSuffix ? 'jedna minuta' : 'jedne minute';
  3055. case 'mm':
  3056. if (number === 1) {
  3057. result += 'minuta';
  3058. } else if (number === 2 || number === 3 || number === 4) {
  3059. result += 'minute';
  3060. } else {
  3061. result += 'minuta';
  3062. }
  3063. return result;
  3064. case 'h':
  3065. return withoutSuffix ? 'jedan sat' : 'jednog sata';
  3066. case 'hh':
  3067. if (number === 1) {
  3068. result += 'sat';
  3069. } else if (number === 2 || number === 3 || number === 4) {
  3070. result += 'sata';
  3071. } else {
  3072. result += 'sati';
  3073. }
  3074. return result;
  3075. case 'dd':
  3076. if (number === 1) {
  3077. result += 'dan';
  3078. } else {
  3079. result += 'dana';
  3080. }
  3081. return result;
  3082. case 'MM':
  3083. if (number === 1) {
  3084. result += 'mjesec';
  3085. } else if (number === 2 || number === 3 || number === 4) {
  3086. result += 'mjeseca';
  3087. } else {
  3088. result += 'mjeseci';
  3089. }
  3090. return result;
  3091. case 'yy':
  3092. if (number === 1) {
  3093. result += 'godina';
  3094. } else if (number === 2 || number === 3 || number === 4) {
  3095. result += 'godine';
  3096. } else {
  3097. result += 'godina';
  3098. }
  3099. return result;
  3100. }
  3101. }
  3102. var hr = moment.defineLocale('hr', {
  3103. months : {
  3104. format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_'),
  3105. standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_')
  3106. },
  3107. monthsShort : 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'),
  3108. monthsParseExact: true,
  3109. weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
  3110. weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  3111. weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'),
  3112. weekdaysParseExact : true,
  3113. longDateFormat : {
  3114. LT : 'H:mm',
  3115. LTS : 'H:mm:ss',
  3116. L : 'DD. MM. YYYY',
  3117. LL : 'D. MMMM YYYY',
  3118. LLL : 'D. MMMM YYYY H:mm',
  3119. LLLL : 'dddd, D. MMMM YYYY H:mm'
  3120. },
  3121. calendar : {
  3122. sameDay : '[danas u] LT',
  3123. nextDay : '[sutra u] LT',
  3124. nextWeek : function () {
  3125. switch (this.day()) {
  3126. case 0:
  3127. return '[u] [nedjelju] [u] LT';
  3128. case 3:
  3129. return '[u] [srijedu] [u] LT';
  3130. case 6:
  3131. return '[u] [subotu] [u] LT';
  3132. case 1:
  3133. case 2:
  3134. case 4:
  3135. case 5:
  3136. return '[u] dddd [u] LT';
  3137. }
  3138. },
  3139. lastDay : '[jučer u] LT',
  3140. lastWeek : function () {
  3141. switch (this.day()) {
  3142. case 0:
  3143. case 3:
  3144. return '[prošlu] dddd [u] LT';
  3145. case 6:
  3146. return '[prošle] [subote] [u] LT';
  3147. case 1:
  3148. case 2:
  3149. case 4:
  3150. case 5:
  3151. return '[prošli] dddd [u] LT';
  3152. }
  3153. },
  3154. sameElse : 'L'
  3155. },
  3156. relativeTime : {
  3157. future : 'za %s',
  3158. past : 'prije %s',
  3159. s : 'par sekundi',
  3160. m : hr__translate,
  3161. mm : hr__translate,
  3162. h : hr__translate,
  3163. hh : hr__translate,
  3164. d : 'dan',
  3165. dd : hr__translate,
  3166. M : 'mjesec',
  3167. MM : hr__translate,
  3168. y : 'godinu',
  3169. yy : hr__translate
  3170. },
  3171. ordinalParse: /\d{1,2}\./,
  3172. ordinal : '%d.',
  3173. week : {
  3174. dow : 1, // Monday is the first day of the week.
  3175. doy : 7 // The week that contains Jan 1st is the first week of the year.
  3176. }
  3177. });
  3178. //! moment.js locale configuration
  3179. //! locale : hungarian (hu)
  3180. //! author : Adam Brunner : https://github.com/adambrunner
  3181. var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
  3182. function hu__translate(number, withoutSuffix, key, isFuture) {
  3183. var num = number,
  3184. suffix;
  3185. switch (key) {
  3186. case 's':
  3187. return (isFuture || withoutSuffix) ? 'néhány másodperc' : 'néhány másodperce';
  3188. case 'm':
  3189. return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
  3190. case 'mm':
  3191. return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
  3192. case 'h':
  3193. return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
  3194. case 'hh':
  3195. return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
  3196. case 'd':
  3197. return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
  3198. case 'dd':
  3199. return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
  3200. case 'M':
  3201. return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
  3202. case 'MM':
  3203. return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
  3204. case 'y':
  3205. return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
  3206. case 'yy':
  3207. return num + (isFuture || withoutSuffix ? ' év' : ' éve');
  3208. }
  3209. return '';
  3210. }
  3211. function week(isFuture) {
  3212. return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]';
  3213. }
  3214. var hu = moment.defineLocale('hu', {
  3215. months : 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'),
  3216. monthsShort : 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'),
  3217. weekdays : 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
  3218. weekdaysShort : 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
  3219. weekdaysMin : 'v_h_k_sze_cs_p_szo'.split('_'),
  3220. longDateFormat : {
  3221. LT : 'H:mm',
  3222. LTS : 'H:mm:ss',
  3223. L : 'YYYY.MM.DD.',
  3224. LL : 'YYYY. MMMM D.',
  3225. LLL : 'YYYY. MMMM D. H:mm',
  3226. LLLL : 'YYYY. MMMM D., dddd H:mm'
  3227. },
  3228. meridiemParse: /de|du/i,
  3229. isPM: function (input) {
  3230. return input.charAt(1).toLowerCase() === 'u';
  3231. },
  3232. meridiem : function (hours, minutes, isLower) {
  3233. if (hours < 12) {
  3234. return isLower === true ? 'de' : 'DE';
  3235. } else {
  3236. return isLower === true ? 'du' : 'DU';
  3237. }
  3238. },
  3239. calendar : {
  3240. sameDay : '[ma] LT[-kor]',
  3241. nextDay : '[holnap] LT[-kor]',
  3242. nextWeek : function () {
  3243. return week.call(this, true);
  3244. },
  3245. lastDay : '[tegnap] LT[-kor]',
  3246. lastWeek : function () {
  3247. return week.call(this, false);
  3248. },
  3249. sameElse : 'L'
  3250. },
  3251. relativeTime : {
  3252. future : '%s múlva',
  3253. past : '%s',
  3254. s : hu__translate,
  3255. m : hu__translate,
  3256. mm : hu__translate,
  3257. h : hu__translate,
  3258. hh : hu__translate,
  3259. d : hu__translate,
  3260. dd : hu__translate,
  3261. M : hu__translate,
  3262. MM : hu__translate,
  3263. y : hu__translate,
  3264. yy : hu__translate
  3265. },
  3266. ordinalParse: /\d{1,2}\./,
  3267. ordinal : '%d.',
  3268. week : {
  3269. dow : 1, // Monday is the first day of the week.
  3270. doy : 7 // The week that contains Jan 1st is the first week of the year.
  3271. }
  3272. });
  3273. //! moment.js locale configuration
  3274. //! locale : Armenian (hy-am)
  3275. //! author : Armendarabyan : https://github.com/armendarabyan
  3276. var hy_am = moment.defineLocale('hy-am', {
  3277. months : {
  3278. format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_'),
  3279. standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_')
  3280. },
  3281. monthsShort : 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
  3282. weekdays : 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'),
  3283. weekdaysShort : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
  3284. weekdaysMin : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
  3285. longDateFormat : {
  3286. LT : 'HH:mm',
  3287. LTS : 'HH:mm:ss',
  3288. L : 'DD.MM.YYYY',
  3289. LL : 'D MMMM YYYY թ.',
  3290. LLL : 'D MMMM YYYY թ., HH:mm',
  3291. LLLL : 'dddd, D MMMM YYYY թ., HH:mm'
  3292. },
  3293. calendar : {
  3294. sameDay: '[այսօր] LT',
  3295. nextDay: '[վաղը] LT',
  3296. lastDay: '[երեկ] LT',
  3297. nextWeek: function () {
  3298. return 'dddd [օրը ժամը] LT';
  3299. },
  3300. lastWeek: function () {
  3301. return '[անցած] dddd [օրը ժամը] LT';
  3302. },
  3303. sameElse: 'L'
  3304. },
  3305. relativeTime : {
  3306. future : '%s հետո',
  3307. past : '%s առաջ',
  3308. s : 'մի քանի վայրկյան',
  3309. m : 'րոպե',
  3310. mm : '%d րոպե',
  3311. h : 'ժամ',
  3312. hh : '%d ժամ',
  3313. d : 'օր',
  3314. dd : '%d օր',
  3315. M : 'ամիս',
  3316. MM : '%d ամիս',
  3317. y : 'տարի',
  3318. yy : '%d տարի'
  3319. },
  3320. meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
  3321. isPM: function (input) {
  3322. return /^(ցերեկվա|երեկոյան)$/.test(input);
  3323. },
  3324. meridiem : function (hour) {
  3325. if (hour < 4) {
  3326. return 'գիշերվա';
  3327. } else if (hour < 12) {
  3328. return 'առավոտվա';
  3329. } else if (hour < 17) {
  3330. return 'ցերեկվա';
  3331. } else {
  3332. return 'երեկոյան';
  3333. }
  3334. },
  3335. ordinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
  3336. ordinal: function (number, period) {
  3337. switch (period) {
  3338. case 'DDD':
  3339. case 'w':
  3340. case 'W':
  3341. case 'DDDo':
  3342. if (number === 1) {
  3343. return number + '-ին';
  3344. }
  3345. return number + '-րդ';
  3346. default:
  3347. return number;
  3348. }
  3349. },
  3350. week : {
  3351. dow : 1, // Monday is the first day of the week.
  3352. doy : 7 // The week that contains Jan 1st is the first week of the year.
  3353. }
  3354. });
  3355. //! moment.js locale configuration
  3356. //! locale : Bahasa Indonesia (id)
  3357. //! author : Mohammad Satrio Utomo : https://github.com/tyok
  3358. //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan
  3359. var id = moment.defineLocale('id', {
  3360. months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),
  3361. monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des'.split('_'),
  3362. weekdays : 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
  3363. weekdaysShort : 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
  3364. weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
  3365. longDateFormat : {
  3366. LT : 'HH.mm',
  3367. LTS : 'HH.mm.ss',
  3368. L : 'DD/MM/YYYY',
  3369. LL : 'D MMMM YYYY',
  3370. LLL : 'D MMMM YYYY [pukul] HH.mm',
  3371. LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
  3372. },
  3373. meridiemParse: /pagi|siang|sore|malam/,
  3374. meridiemHour : function (hour, meridiem) {
  3375. if (hour === 12) {
  3376. hour = 0;
  3377. }
  3378. if (meridiem === 'pagi') {
  3379. return hour;
  3380. } else if (meridiem === 'siang') {
  3381. return hour >= 11 ? hour : hour + 12;
  3382. } else if (meridiem === 'sore' || meridiem === 'malam') {
  3383. return hour + 12;
  3384. }
  3385. },
  3386. meridiem : function (hours, minutes, isLower) {
  3387. if (hours < 11) {
  3388. return 'pagi';
  3389. } else if (hours < 15) {
  3390. return 'siang';
  3391. } else if (hours < 19) {
  3392. return 'sore';
  3393. } else {
  3394. return 'malam';
  3395. }
  3396. },
  3397. calendar : {
  3398. sameDay : '[Hari ini pukul] LT',
  3399. nextDay : '[Besok pukul] LT',
  3400. nextWeek : 'dddd [pukul] LT',
  3401. lastDay : '[Kemarin pukul] LT',
  3402. lastWeek : 'dddd [lalu pukul] LT',
  3403. sameElse : 'L'
  3404. },
  3405. relativeTime : {
  3406. future : 'dalam %s',
  3407. past : '%s yang lalu',
  3408. s : 'beberapa detik',
  3409. m : 'semenit',
  3410. mm : '%d menit',
  3411. h : 'sejam',
  3412. hh : '%d jam',
  3413. d : 'sehari',
  3414. dd : '%d hari',
  3415. M : 'sebulan',
  3416. MM : '%d bulan',
  3417. y : 'setahun',
  3418. yy : '%d tahun'
  3419. },
  3420. week : {
  3421. dow : 1, // Monday is the first day of the week.
  3422. doy : 7 // The week that contains Jan 1st is the first week of the year.
  3423. }
  3424. });
  3425. //! moment.js locale configuration
  3426. //! locale : icelandic (is)
  3427. //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik
  3428. function is__plural(n) {
  3429. if (n % 100 === 11) {
  3430. return true;
  3431. } else if (n % 10 === 1) {
  3432. return false;
  3433. }
  3434. return true;
  3435. }
  3436. function is__translate(number, withoutSuffix, key, isFuture) {
  3437. var result = number + ' ';
  3438. switch (key) {
  3439. case 's':
  3440. return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';
  3441. case 'm':
  3442. return withoutSuffix ? 'mínúta' : 'mínútu';
  3443. case 'mm':
  3444. if (is__plural(number)) {
  3445. return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum');
  3446. } else if (withoutSuffix) {
  3447. return result + 'mínúta';
  3448. }
  3449. return result + 'mínútu';
  3450. case 'hh':
  3451. if (is__plural(number)) {
  3452. return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum');
  3453. }
  3454. return result + 'klukkustund';
  3455. case 'd':
  3456. if (withoutSuffix) {
  3457. return 'dagur';
  3458. }
  3459. return isFuture ? 'dag' : 'degi';
  3460. case 'dd':
  3461. if (is__plural(number)) {
  3462. if (withoutSuffix) {
  3463. return result + 'dagar';
  3464. }
  3465. return result + (isFuture ? 'daga' : 'dögum');
  3466. } else if (withoutSuffix) {
  3467. return result + 'dagur';
  3468. }
  3469. return result + (isFuture ? 'dag' : 'degi');
  3470. case 'M':
  3471. if (withoutSuffix) {
  3472. return 'mánuður';
  3473. }
  3474. return isFuture ? 'mánuð' : 'mánuði';
  3475. case 'MM':
  3476. if (is__plural(number)) {
  3477. if (withoutSuffix) {
  3478. return result + 'mánuðir';
  3479. }
  3480. return result + (isFuture ? 'mánuði' : 'mánuðum');
  3481. } else if (withoutSuffix) {
  3482. return result + 'mánuður';
  3483. }
  3484. return result + (isFuture ? 'mánuð' : 'mánuði');
  3485. case 'y':
  3486. return withoutSuffix || isFuture ? 'ár' : 'ári';
  3487. case 'yy':
  3488. if (is__plural(number)) {
  3489. return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
  3490. }
  3491. return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
  3492. }
  3493. }
  3494. var is = moment.defineLocale('is', {
  3495. months : 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'),
  3496. monthsShort : 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
  3497. weekdays : 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'),
  3498. weekdaysShort : 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
  3499. weekdaysMin : 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
  3500. longDateFormat : {
  3501. LT : 'H:mm',
  3502. LTS : 'H:mm:ss',
  3503. L : 'DD.MM.YYYY',
  3504. LL : 'D. MMMM YYYY',
  3505. LLL : 'D. MMMM YYYY [kl.] H:mm',
  3506. LLLL : 'dddd, D. MMMM YYYY [kl.] H:mm'
  3507. },
  3508. calendar : {
  3509. sameDay : '[í dag kl.] LT',
  3510. nextDay : '[á morgun kl.] LT',
  3511. nextWeek : 'dddd [kl.] LT',
  3512. lastDay : '[í gær kl.] LT',
  3513. lastWeek : '[síðasta] dddd [kl.] LT',
  3514. sameElse : 'L'
  3515. },
  3516. relativeTime : {
  3517. future : 'eftir %s',
  3518. past : 'fyrir %s síðan',
  3519. s : is__translate,
  3520. m : is__translate,
  3521. mm : is__translate,
  3522. h : 'klukkustund',
  3523. hh : is__translate,
  3524. d : is__translate,
  3525. dd : is__translate,
  3526. M : is__translate,
  3527. MM : is__translate,
  3528. y : is__translate,
  3529. yy : is__translate
  3530. },
  3531. ordinalParse: /\d{1,2}\./,
  3532. ordinal : '%d.',
  3533. week : {
  3534. dow : 1, // Monday is the first day of the week.
  3535. doy : 4 // The week that contains Jan 4th is the first week of the year.
  3536. }
  3537. });
  3538. //! moment.js locale configuration
  3539. //! locale : italian (it)
  3540. //! author : Lorenzo : https://github.com/aliem
  3541. //! author: Mattia Larentis: https://github.com/nostalgiaz
  3542. var it = moment.defineLocale('it', {
  3543. months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
  3544. monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
  3545. weekdays : 'Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato'.split('_'),
  3546. weekdaysShort : 'Dom_Lun_Mar_Mer_Gio_Ven_Sab'.split('_'),
  3547. weekdaysMin : 'Do_Lu_Ma_Me_Gi_Ve_Sa'.split('_'),
  3548. longDateFormat : {
  3549. LT : 'HH:mm',
  3550. LTS : 'HH:mm:ss',
  3551. L : 'DD/MM/YYYY',
  3552. LL : 'D MMMM YYYY',
  3553. LLL : 'D MMMM YYYY HH:mm',
  3554. LLLL : 'dddd, D MMMM YYYY HH:mm'
  3555. },
  3556. calendar : {
  3557. sameDay: '[Oggi alle] LT',
  3558. nextDay: '[Domani alle] LT',
  3559. nextWeek: 'dddd [alle] LT',
  3560. lastDay: '[Ieri alle] LT',
  3561. lastWeek: function () {
  3562. switch (this.day()) {
  3563. case 0:
  3564. return '[la scorsa] dddd [alle] LT';
  3565. default:
  3566. return '[lo scorso] dddd [alle] LT';
  3567. }
  3568. },
  3569. sameElse: 'L'
  3570. },
  3571. relativeTime : {
  3572. future : function (s) {
  3573. return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s;
  3574. },
  3575. past : '%s fa',
  3576. s : 'alcuni secondi',
  3577. m : 'un minuto',
  3578. mm : '%d minuti',
  3579. h : 'un\'ora',
  3580. hh : '%d ore',
  3581. d : 'un giorno',
  3582. dd : '%d giorni',
  3583. M : 'un mese',
  3584. MM : '%d mesi',
  3585. y : 'un anno',
  3586. yy : '%d anni'
  3587. },
  3588. ordinalParse : /\d{1,2}º/,
  3589. ordinal: '%dº',
  3590. week : {
  3591. dow : 1, // Monday is the first day of the week.
  3592. doy : 4 // The week that contains Jan 4th is the first week of the year.
  3593. }
  3594. });
  3595. //! moment.js locale configuration
  3596. //! locale : japanese (ja)
  3597. //! author : LI Long : https://github.com/baryon
  3598. var ja = moment.defineLocale('ja', {
  3599. months : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  3600. monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  3601. weekdays : '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
  3602. weekdaysShort : '日_月_火_水_木_金_土'.split('_'),
  3603. weekdaysMin : '日_月_火_水_木_金_土'.split('_'),
  3604. longDateFormat : {
  3605. LT : 'Ah時m分',
  3606. LTS : 'Ah時m分s秒',
  3607. L : 'YYYY/MM/DD',
  3608. LL : 'YYYY年M月D日',
  3609. LLL : 'YYYY年M月D日Ah時m分',
  3610. LLLL : 'YYYY年M月D日Ah時m分 dddd'
  3611. },
  3612. meridiemParse: /午前|午後/i,
  3613. isPM : function (input) {
  3614. return input === '午後';
  3615. },
  3616. meridiem : function (hour, minute, isLower) {
  3617. if (hour < 12) {
  3618. return '午前';
  3619. } else {
  3620. return '午後';
  3621. }
  3622. },
  3623. calendar : {
  3624. sameDay : '[今日] LT',
  3625. nextDay : '[明日] LT',
  3626. nextWeek : '[来週]dddd LT',
  3627. lastDay : '[昨日] LT',
  3628. lastWeek : '[前週]dddd LT',
  3629. sameElse : 'L'
  3630. },
  3631. ordinalParse : /\d{1,2}日/,
  3632. ordinal : function (number, period) {
  3633. switch (period) {
  3634. case 'd':
  3635. case 'D':
  3636. case 'DDD':
  3637. return number + '日';
  3638. default:
  3639. return number;
  3640. }
  3641. },
  3642. relativeTime : {
  3643. future : '%s後',
  3644. past : '%s前',
  3645. s : '数秒',
  3646. m : '1分',
  3647. mm : '%d分',
  3648. h : '1時間',
  3649. hh : '%d時間',
  3650. d : '1日',
  3651. dd : '%d日',
  3652. M : '1ヶ月',
  3653. MM : '%dヶ月',
  3654. y : '1年',
  3655. yy : '%d年'
  3656. }
  3657. });
  3658. //! moment.js locale configuration
  3659. //! locale : Boso Jowo (jv)
  3660. //! author : Rony Lantip : https://github.com/lantip
  3661. //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
  3662. var jv = moment.defineLocale('jv', {
  3663. months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'),
  3664. monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
  3665. weekdays : 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
  3666. weekdaysShort : 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
  3667. weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),
  3668. longDateFormat : {
  3669. LT : 'HH.mm',
  3670. LTS : 'HH.mm.ss',
  3671. L : 'DD/MM/YYYY',
  3672. LL : 'D MMMM YYYY',
  3673. LLL : 'D MMMM YYYY [pukul] HH.mm',
  3674. LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
  3675. },
  3676. meridiemParse: /enjing|siyang|sonten|ndalu/,
  3677. meridiemHour : function (hour, meridiem) {
  3678. if (hour === 12) {
  3679. hour = 0;
  3680. }
  3681. if (meridiem === 'enjing') {
  3682. return hour;
  3683. } else if (meridiem === 'siyang') {
  3684. return hour >= 11 ? hour : hour + 12;
  3685. } else if (meridiem === 'sonten' || meridiem === 'ndalu') {
  3686. return hour + 12;
  3687. }
  3688. },
  3689. meridiem : function (hours, minutes, isLower) {
  3690. if (hours < 11) {
  3691. return 'enjing';
  3692. } else if (hours < 15) {
  3693. return 'siyang';
  3694. } else if (hours < 19) {
  3695. return 'sonten';
  3696. } else {
  3697. return 'ndalu';
  3698. }
  3699. },
  3700. calendar : {
  3701. sameDay : '[Dinten puniko pukul] LT',
  3702. nextDay : '[Mbenjang pukul] LT',
  3703. nextWeek : 'dddd [pukul] LT',
  3704. lastDay : '[Kala wingi pukul] LT',
  3705. lastWeek : 'dddd [kepengker pukul] LT',
  3706. sameElse : 'L'
  3707. },
  3708. relativeTime : {
  3709. future : 'wonten ing %s',
  3710. past : '%s ingkang kepengker',
  3711. s : 'sawetawis detik',
  3712. m : 'setunggal menit',
  3713. mm : '%d menit',
  3714. h : 'setunggal jam',
  3715. hh : '%d jam',
  3716. d : 'sedinten',
  3717. dd : '%d dinten',
  3718. M : 'sewulan',
  3719. MM : '%d wulan',
  3720. y : 'setaun',
  3721. yy : '%d taun'
  3722. },
  3723. week : {
  3724. dow : 1, // Monday is the first day of the week.
  3725. doy : 7 // The week that contains Jan 1st is the first week of the year.
  3726. }
  3727. });
  3728. //! moment.js locale configuration
  3729. //! locale : Georgian (ka)
  3730. //! author : Irakli Janiashvili : https://github.com/irakli-janiashvili
  3731. var ka = moment.defineLocale('ka', {
  3732. months : {
  3733. standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'),
  3734. format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_')
  3735. },
  3736. monthsShort : 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
  3737. weekdays : {
  3738. standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'),
  3739. format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'),
  3740. isFormat: /(წინა|შემდეგ)/
  3741. },
  3742. weekdaysShort : 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
  3743. weekdaysMin : 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
  3744. longDateFormat : {
  3745. LT : 'h:mm A',
  3746. LTS : 'h:mm:ss A',
  3747. L : 'DD/MM/YYYY',
  3748. LL : 'D MMMM YYYY',
  3749. LLL : 'D MMMM YYYY h:mm A',
  3750. LLLL : 'dddd, D MMMM YYYY h:mm A'
  3751. },
  3752. calendar : {
  3753. sameDay : '[დღეს] LT[-ზე]',
  3754. nextDay : '[ხვალ] LT[-ზე]',
  3755. lastDay : '[გუშინ] LT[-ზე]',
  3756. nextWeek : '[შემდეგ] dddd LT[-ზე]',
  3757. lastWeek : '[წინა] dddd LT-ზე',
  3758. sameElse : 'L'
  3759. },
  3760. relativeTime : {
  3761. future : function (s) {
  3762. return (/(წამი|წუთი|საათი|წელი)/).test(s) ?
  3763. s.replace(/ი$/, 'ში') :
  3764. s + 'ში';
  3765. },
  3766. past : function (s) {
  3767. if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) {
  3768. return s.replace(/(ი|ე)$/, 'ის წინ');
  3769. }
  3770. if ((/წელი/).test(s)) {
  3771. return s.replace(/წელი$/, 'წლის წინ');
  3772. }
  3773. },
  3774. s : 'რამდენიმე წამი',
  3775. m : 'წუთი',
  3776. mm : '%d წუთი',
  3777. h : 'საათი',
  3778. hh : '%d საათი',
  3779. d : 'დღე',
  3780. dd : '%d დღე',
  3781. M : 'თვე',
  3782. MM : '%d თვე',
  3783. y : 'წელი',
  3784. yy : '%d წელი'
  3785. },
  3786. ordinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
  3787. ordinal : function (number) {
  3788. if (number === 0) {
  3789. return number;
  3790. }
  3791. if (number === 1) {
  3792. return number + '-ლი';
  3793. }
  3794. if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) {
  3795. return 'მე-' + number;
  3796. }
  3797. return number + '-ე';
  3798. },
  3799. week : {
  3800. dow : 1,
  3801. doy : 7
  3802. }
  3803. });
  3804. //! moment.js locale configuration
  3805. //! locale : kazakh (kk)
  3806. //! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
  3807. var kk__suffixes = {
  3808. 0: '-ші',
  3809. 1: '-ші',
  3810. 2: '-ші',
  3811. 3: '-ші',
  3812. 4: '-ші',
  3813. 5: '-ші',
  3814. 6: '-шы',
  3815. 7: '-ші',
  3816. 8: '-ші',
  3817. 9: '-шы',
  3818. 10: '-шы',
  3819. 20: '-шы',
  3820. 30: '-шы',
  3821. 40: '-шы',
  3822. 50: '-ші',
  3823. 60: '-шы',
  3824. 70: '-ші',
  3825. 80: '-ші',
  3826. 90: '-шы',
  3827. 100: '-ші'
  3828. };
  3829. var kk = moment.defineLocale('kk', {
  3830. months : 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'),
  3831. monthsShort : 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
  3832. weekdays : 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'),
  3833. weekdaysShort : 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
  3834. weekdaysMin : 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
  3835. longDateFormat : {
  3836. LT : 'HH:mm',
  3837. LTS : 'HH:mm:ss',
  3838. L : 'DD.MM.YYYY',
  3839. LL : 'D MMMM YYYY',
  3840. LLL : 'D MMMM YYYY HH:mm',
  3841. LLLL : 'dddd, D MMMM YYYY HH:mm'
  3842. },
  3843. calendar : {
  3844. sameDay : '[Бүгін сағат] LT',
  3845. nextDay : '[Ертең сағат] LT',
  3846. nextWeek : 'dddd [сағат] LT',
  3847. lastDay : '[Кеше сағат] LT',
  3848. lastWeek : '[Өткен аптаның] dddd [сағат] LT',
  3849. sameElse : 'L'
  3850. },
  3851. relativeTime : {
  3852. future : '%s ішінде',
  3853. past : '%s бұрын',
  3854. s : 'бірнеше секунд',
  3855. m : 'бір минут',
  3856. mm : '%d минут',
  3857. h : 'бір сағат',
  3858. hh : '%d сағат',
  3859. d : 'бір күн',
  3860. dd : '%d күн',
  3861. M : 'бір ай',
  3862. MM : '%d ай',
  3863. y : 'бір жыл',
  3864. yy : '%d жыл'
  3865. },
  3866. ordinalParse: /\d{1,2}-(ші|шы)/,
  3867. ordinal : function (number) {
  3868. var a = number % 10,
  3869. b = number >= 100 ? 100 : null;
  3870. return number + (kk__suffixes[number] || kk__suffixes[a] || kk__suffixes[b]);
  3871. },
  3872. week : {
  3873. dow : 1, // Monday is the first day of the week.
  3874. doy : 7 // The week that contains Jan 1st is the first week of the year.
  3875. }
  3876. });
  3877. //! moment.js locale configuration
  3878. //! locale : khmer (km)
  3879. //! author : Kruy Vanna : https://github.com/kruyvanna
  3880. var km = moment.defineLocale('km', {
  3881. months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
  3882. monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
  3883. weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
  3884. weekdaysShort: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
  3885. weekdaysMin: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
  3886. longDateFormat: {
  3887. LT: 'HH:mm',
  3888. LTS : 'HH:mm:ss',
  3889. L: 'DD/MM/YYYY',
  3890. LL: 'D MMMM YYYY',
  3891. LLL: 'D MMMM YYYY HH:mm',
  3892. LLLL: 'dddd, D MMMM YYYY HH:mm'
  3893. },
  3894. calendar: {
  3895. sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
  3896. nextDay: '[ស្អែក ម៉ោង] LT',
  3897. nextWeek: 'dddd [ម៉ោង] LT',
  3898. lastDay: '[ម្សិលមិញ ម៉ោង] LT',
  3899. lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
  3900. sameElse: 'L'
  3901. },
  3902. relativeTime: {
  3903. future: '%sទៀត',
  3904. past: '%sមុន',
  3905. s: 'ប៉ុន្មានវិនាទី',
  3906. m: 'មួយនាទី',
  3907. mm: '%d នាទី',
  3908. h: 'មួយម៉ោង',
  3909. hh: '%d ម៉ោង',
  3910. d: 'មួយថ្ងៃ',
  3911. dd: '%d ថ្ងៃ',
  3912. M: 'មួយខែ',
  3913. MM: '%d ខែ',
  3914. y: 'មួយឆ្នាំ',
  3915. yy: '%d ឆ្នាំ'
  3916. },
  3917. week: {
  3918. dow: 1, // Monday is the first day of the week.
  3919. doy: 4 // The week that contains Jan 4th is the first week of the year.
  3920. }
  3921. });
  3922. //! moment.js locale configuration
  3923. //! locale : korean (ko)
  3924. //!
  3925. //! authors
  3926. //!
  3927. //! - Kyungwook, Park : https://github.com/kyungw00k
  3928. //! - Jeeeyul Lee <jeeeyul@gmail.com>
  3929. var ko = moment.defineLocale('ko', {
  3930. months : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
  3931. monthsShort : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
  3932. weekdays : '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
  3933. weekdaysShort : '일_월_화_수_목_금_토'.split('_'),
  3934. weekdaysMin : '일_월_화_수_목_금_토'.split('_'),
  3935. longDateFormat : {
  3936. LT : 'A h시 m분',
  3937. LTS : 'A h시 m분 s초',
  3938. L : 'YYYY.MM.DD',
  3939. LL : 'YYYY년 MMMM D일',
  3940. LLL : 'YYYY년 MMMM D일 A h시 m분',
  3941. LLLL : 'YYYY년 MMMM D일 dddd A h시 m분'
  3942. },
  3943. calendar : {
  3944. sameDay : '오늘 LT',
  3945. nextDay : '내일 LT',
  3946. nextWeek : 'dddd LT',
  3947. lastDay : '어제 LT',
  3948. lastWeek : '지난주 dddd LT',
  3949. sameElse : 'L'
  3950. },
  3951. relativeTime : {
  3952. future : '%s 후',
  3953. past : '%s 전',
  3954. s : '몇 초',
  3955. ss : '%d초',
  3956. m : '일분',
  3957. mm : '%d분',
  3958. h : '한 시간',
  3959. hh : '%d시간',
  3960. d : '하루',
  3961. dd : '%d일',
  3962. M : '한 달',
  3963. MM : '%d달',
  3964. y : '일 년',
  3965. yy : '%d년'
  3966. },
  3967. ordinalParse : /\d{1,2}일/,
  3968. ordinal : '%d일',
  3969. meridiemParse : /오전|오후/,
  3970. isPM : function (token) {
  3971. return token === '오후';
  3972. },
  3973. meridiem : function (hour, minute, isUpper) {
  3974. return hour < 12 ? '오전' : '오후';
  3975. }
  3976. });
  3977. //! moment.js locale configuration
  3978. //! locale : kyrgyz (ky)
  3979. //! author : Chyngyz Arystan uulu : https://github.com/chyngyz
  3980. var ky__suffixes = {
  3981. 0: '-чү',
  3982. 1: '-чи',
  3983. 2: '-чи',
  3984. 3: '-чү',
  3985. 4: '-чү',
  3986. 5: '-чи',
  3987. 6: '-чы',
  3988. 7: '-чи',
  3989. 8: '-чи',
  3990. 9: '-чу',
  3991. 10: '-чу',
  3992. 20: '-чы',
  3993. 30: '-чу',
  3994. 40: '-чы',
  3995. 50: '-чү',
  3996. 60: '-чы',
  3997. 70: '-чи',
  3998. 80: '-чи',
  3999. 90: '-чу',
  4000. 100: '-чү'
  4001. };
  4002. var ky = moment.defineLocale('ky', {
  4003. months : 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'),
  4004. monthsShort : 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'),
  4005. weekdays : 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'),
  4006. weekdaysShort : 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),
  4007. weekdaysMin : 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),
  4008. longDateFormat : {
  4009. LT : 'HH:mm',
  4010. LTS : 'HH:mm:ss',
  4011. L : 'DD.MM.YYYY',
  4012. LL : 'D MMMM YYYY',
  4013. LLL : 'D MMMM YYYY HH:mm',
  4014. LLLL : 'dddd, D MMMM YYYY HH:mm'
  4015. },
  4016. calendar : {
  4017. sameDay : '[Бүгүн саат] LT',
  4018. nextDay : '[Эртең саат] LT',
  4019. nextWeek : 'dddd [саат] LT',
  4020. lastDay : '[Кече саат] LT',
  4021. lastWeek : '[Өткен аптанын] dddd [күнү] [саат] LT',
  4022. sameElse : 'L'
  4023. },
  4024. relativeTime : {
  4025. future : '%s ичинде',
  4026. past : '%s мурун',
  4027. s : 'бирнече секунд',
  4028. m : 'бир мүнөт',
  4029. mm : '%d мүнөт',
  4030. h : 'бир саат',
  4031. hh : '%d саат',
  4032. d : 'бир күн',
  4033. dd : '%d күн',
  4034. M : 'бир ай',
  4035. MM : '%d ай',
  4036. y : 'бир жыл',
  4037. yy : '%d жыл'
  4038. },
  4039. ordinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
  4040. ordinal : function (number) {
  4041. var a = number % 10,
  4042. b = number >= 100 ? 100 : null;
  4043. return number + (ky__suffixes[number] || ky__suffixes[a] || ky__suffixes[b]);
  4044. },
  4045. week : {
  4046. dow : 1, // Monday is the first day of the week.
  4047. doy : 7 // The week that contains Jan 1st is the first week of the year.
  4048. }
  4049. });
  4050. //! moment.js locale configuration
  4051. //! locale : Luxembourgish (lb)
  4052. //! author : mweimerskirch : https://github.com/mweimerskirch, David Raison : https://github.com/kwisatz
  4053. function lb__processRelativeTime(number, withoutSuffix, key, isFuture) {
  4054. var format = {
  4055. 'm': ['eng Minutt', 'enger Minutt'],
  4056. 'h': ['eng Stonn', 'enger Stonn'],
  4057. 'd': ['een Dag', 'engem Dag'],
  4058. 'M': ['ee Mount', 'engem Mount'],
  4059. 'y': ['ee Joer', 'engem Joer']
  4060. };
  4061. return withoutSuffix ? format[key][0] : format[key][1];
  4062. }
  4063. function processFutureTime(string) {
  4064. var number = string.substr(0, string.indexOf(' '));
  4065. if (eifelerRegelAppliesToNumber(number)) {
  4066. return 'a ' + string;
  4067. }
  4068. return 'an ' + string;
  4069. }
  4070. function processPastTime(string) {
  4071. var number = string.substr(0, string.indexOf(' '));
  4072. if (eifelerRegelAppliesToNumber(number)) {
  4073. return 'viru ' + string;
  4074. }
  4075. return 'virun ' + string;
  4076. }
  4077. /**
  4078. * Returns true if the word before the given number loses the '-n' ending.
  4079. * e.g. 'an 10 Deeg' but 'a 5 Deeg'
  4080. *
  4081. * @param number {integer}
  4082. * @returns {boolean}
  4083. */
  4084. function eifelerRegelAppliesToNumber(number) {
  4085. number = parseInt(number, 10);
  4086. if (isNaN(number)) {
  4087. return false;
  4088. }
  4089. if (number < 0) {
  4090. // Negative Number --> always true
  4091. return true;
  4092. } else if (number < 10) {
  4093. // Only 1 digit
  4094. if (4 <= number && number <= 7) {
  4095. return true;
  4096. }
  4097. return false;
  4098. } else if (number < 100) {
  4099. // 2 digits
  4100. var lastDigit = number % 10, firstDigit = number / 10;
  4101. if (lastDigit === 0) {
  4102. return eifelerRegelAppliesToNumber(firstDigit);
  4103. }
  4104. return eifelerRegelAppliesToNumber(lastDigit);
  4105. } else if (number < 10000) {
  4106. // 3 or 4 digits --> recursively check first digit
  4107. while (number >= 10) {
  4108. number = number / 10;
  4109. }
  4110. return eifelerRegelAppliesToNumber(number);
  4111. } else {
  4112. // Anything larger than 4 digits: recursively check first n-3 digits
  4113. number = number / 1000;
  4114. return eifelerRegelAppliesToNumber(number);
  4115. }
  4116. }
  4117. var lb = moment.defineLocale('lb', {
  4118. months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
  4119. monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
  4120. monthsParseExact : true,
  4121. weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'),
  4122. weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
  4123. weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
  4124. weekdaysParseExact : true,
  4125. longDateFormat: {
  4126. LT: 'H:mm [Auer]',
  4127. LTS: 'H:mm:ss [Auer]',
  4128. L: 'DD.MM.YYYY',
  4129. LL: 'D. MMMM YYYY',
  4130. LLL: 'D. MMMM YYYY H:mm [Auer]',
  4131. LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]'
  4132. },
  4133. calendar: {
  4134. sameDay: '[Haut um] LT',
  4135. sameElse: 'L',
  4136. nextDay: '[Muer um] LT',
  4137. nextWeek: 'dddd [um] LT',
  4138. lastDay: '[Gëschter um] LT',
  4139. lastWeek: function () {
  4140. // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
  4141. switch (this.day()) {
  4142. case 2:
  4143. case 4:
  4144. return '[Leschten] dddd [um] LT';
  4145. default:
  4146. return '[Leschte] dddd [um] LT';
  4147. }
  4148. }
  4149. },
  4150. relativeTime : {
  4151. future : processFutureTime,
  4152. past : processPastTime,
  4153. s : 'e puer Sekonnen',
  4154. m : lb__processRelativeTime,
  4155. mm : '%d Minutten',
  4156. h : lb__processRelativeTime,
  4157. hh : '%d Stonnen',
  4158. d : lb__processRelativeTime,
  4159. dd : '%d Deeg',
  4160. M : lb__processRelativeTime,
  4161. MM : '%d Méint',
  4162. y : lb__processRelativeTime,
  4163. yy : '%d Joer'
  4164. },
  4165. ordinalParse: /\d{1,2}\./,
  4166. ordinal: '%d.',
  4167. week: {
  4168. dow: 1, // Monday is the first day of the week.
  4169. doy: 4 // The week that contains Jan 4th is the first week of the year.
  4170. }
  4171. });
  4172. //! moment.js locale configuration
  4173. //! locale : lao (lo)
  4174. //! author : Ryan Hart : https://github.com/ryanhart2
  4175. var lo = moment.defineLocale('lo', {
  4176. months : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'),
  4177. monthsShort : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'),
  4178. weekdays : 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
  4179. weekdaysShort : 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
  4180. weekdaysMin : 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),
  4181. weekdaysParseExact : true,
  4182. longDateFormat : {
  4183. LT : 'HH:mm',
  4184. LTS : 'HH:mm:ss',
  4185. L : 'DD/MM/YYYY',
  4186. LL : 'D MMMM YYYY',
  4187. LLL : 'D MMMM YYYY HH:mm',
  4188. LLLL : 'ວັນdddd D MMMM YYYY HH:mm'
  4189. },
  4190. meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
  4191. isPM: function (input) {
  4192. return input === 'ຕອນແລງ';
  4193. },
  4194. meridiem : function (hour, minute, isLower) {
  4195. if (hour < 12) {
  4196. return 'ຕອນເຊົ້າ';
  4197. } else {
  4198. return 'ຕອນແລງ';
  4199. }
  4200. },
  4201. calendar : {
  4202. sameDay : '[ມື້ນີ້ເວລາ] LT',
  4203. nextDay : '[ມື້ອື່ນເວລາ] LT',
  4204. nextWeek : '[ວັນ]dddd[ໜ້າເວລາ] LT',
  4205. lastDay : '[ມື້ວານນີ້ເວລາ] LT',
  4206. lastWeek : '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
  4207. sameElse : 'L'
  4208. },
  4209. relativeTime : {
  4210. future : 'ອີກ %s',
  4211. past : '%sຜ່ານມາ',
  4212. s : 'ບໍ່ເທົ່າໃດວິນາທີ',
  4213. m : '1 ນາທີ',
  4214. mm : '%d ນາທີ',
  4215. h : '1 ຊົ່ວໂມງ',
  4216. hh : '%d ຊົ່ວໂມງ',
  4217. d : '1 ມື້',
  4218. dd : '%d ມື້',
  4219. M : '1 ເດືອນ',
  4220. MM : '%d ເດືອນ',
  4221. y : '1 ປີ',
  4222. yy : '%d ປີ'
  4223. },
  4224. ordinalParse: /(ທີ່)\d{1,2}/,
  4225. ordinal : function (number) {
  4226. return 'ທີ່' + number;
  4227. }
  4228. });
  4229. //! moment.js locale configuration
  4230. //! locale : Lithuanian (lt)
  4231. //! author : Mindaugas Mozūras : https://github.com/mmozuras
  4232. var lt__units = {
  4233. 'm' : 'minutė_minutės_minutę',
  4234. 'mm': 'minutės_minučių_minutes',
  4235. 'h' : 'valanda_valandos_valandą',
  4236. 'hh': 'valandos_valandų_valandas',
  4237. 'd' : 'diena_dienos_dieną',
  4238. 'dd': 'dienos_dienų_dienas',
  4239. 'M' : 'mėnuo_mėnesio_mėnesį',
  4240. 'MM': 'mėnesiai_mėnesių_mėnesius',
  4241. 'y' : 'metai_metų_metus',
  4242. 'yy': 'metai_metų_metus'
  4243. };
  4244. function translateSeconds(number, withoutSuffix, key, isFuture) {
  4245. if (withoutSuffix) {
  4246. return 'kelios sekundės';
  4247. } else {
  4248. return isFuture ? 'kelių sekundžių' : 'kelias sekundes';
  4249. }
  4250. }
  4251. function translateSingular(number, withoutSuffix, key, isFuture) {
  4252. return withoutSuffix ? forms(key)[0] : (isFuture ? forms(key)[1] : forms(key)[2]);
  4253. }
  4254. function special(number) {
  4255. return number % 10 === 0 || (number > 10 && number < 20);
  4256. }
  4257. function forms(key) {
  4258. return lt__units[key].split('_');
  4259. }
  4260. function lt__translate(number, withoutSuffix, key, isFuture) {
  4261. var result = number + ' ';
  4262. if (number === 1) {
  4263. return result + translateSingular(number, withoutSuffix, key[0], isFuture);
  4264. } else if (withoutSuffix) {
  4265. return result + (special(number) ? forms(key)[1] : forms(key)[0]);
  4266. } else {
  4267. if (isFuture) {
  4268. return result + forms(key)[1];
  4269. } else {
  4270. return result + (special(number) ? forms(key)[1] : forms(key)[2]);
  4271. }
  4272. }
  4273. }
  4274. var lt = moment.defineLocale('lt', {
  4275. months : {
  4276. format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'),
  4277. standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_')
  4278. },
  4279. monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
  4280. weekdays : {
  4281. format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split('_'),
  4282. standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'),
  4283. isFormat: /dddd HH:mm/
  4284. },
  4285. weekdaysShort : 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),
  4286. weekdaysMin : 'S_P_A_T_K_Pn_Š'.split('_'),
  4287. weekdaysParseExact : true,
  4288. longDateFormat : {
  4289. LT : 'HH:mm',
  4290. LTS : 'HH:mm:ss',
  4291. L : 'YYYY-MM-DD',
  4292. LL : 'YYYY [m.] MMMM D [d.]',
  4293. LLL : 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
  4294. LLLL : 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',
  4295. l : 'YYYY-MM-DD',
  4296. ll : 'YYYY [m.] MMMM D [d.]',
  4297. lll : 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
  4298. llll : 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]'
  4299. },
  4300. calendar : {
  4301. sameDay : '[Šiandien] LT',
  4302. nextDay : '[Rytoj] LT',
  4303. nextWeek : 'dddd LT',
  4304. lastDay : '[Vakar] LT',
  4305. lastWeek : '[Praėjusį] dddd LT',
  4306. sameElse : 'L'
  4307. },
  4308. relativeTime : {
  4309. future : 'po %s',
  4310. past : 'prieš %s',
  4311. s : translateSeconds,
  4312. m : translateSingular,
  4313. mm : lt__translate,
  4314. h : translateSingular,
  4315. hh : lt__translate,
  4316. d : translateSingular,
  4317. dd : lt__translate,
  4318. M : translateSingular,
  4319. MM : lt__translate,
  4320. y : translateSingular,
  4321. yy : lt__translate
  4322. },
  4323. ordinalParse: /\d{1,2}-oji/,
  4324. ordinal : function (number) {
  4325. return number + '-oji';
  4326. },
  4327. week : {
  4328. dow : 1, // Monday is the first day of the week.
  4329. doy : 4 // The week that contains Jan 4th is the first week of the year.
  4330. }
  4331. });
  4332. //! moment.js locale configuration
  4333. //! locale : latvian (lv)
  4334. //! author : Kristaps Karlsons : https://github.com/skakri
  4335. //! author : Jānis Elmeris : https://github.com/JanisE
  4336. var lv__units = {
  4337. 'm': 'minūtes_minūtēm_minūte_minūtes'.split('_'),
  4338. 'mm': 'minūtes_minūtēm_minūte_minūtes'.split('_'),
  4339. 'h': 'stundas_stundām_stunda_stundas'.split('_'),
  4340. 'hh': 'stundas_stundām_stunda_stundas'.split('_'),
  4341. 'd': 'dienas_dienām_diena_dienas'.split('_'),
  4342. 'dd': 'dienas_dienām_diena_dienas'.split('_'),
  4343. 'M': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
  4344. 'MM': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
  4345. 'y': 'gada_gadiem_gads_gadi'.split('_'),
  4346. 'yy': 'gada_gadiem_gads_gadi'.split('_')
  4347. };
  4348. /**
  4349. * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.
  4350. */
  4351. function format(forms, number, withoutSuffix) {
  4352. if (withoutSuffix) {
  4353. // E.g. "21 minūte", "3 minūtes".
  4354. return number % 10 === 1 && number !== 11 ? forms[2] : forms[3];
  4355. } else {
  4356. // E.g. "21 minūtes" as in "pēc 21 minūtes".
  4357. // E.g. "3 minūtēm" as in "pēc 3 minūtēm".
  4358. return number % 10 === 1 && number !== 11 ? forms[0] : forms[1];
  4359. }
  4360. }
  4361. function lv__relativeTimeWithPlural(number, withoutSuffix, key) {
  4362. return number + ' ' + format(lv__units[key], number, withoutSuffix);
  4363. }
  4364. function relativeTimeWithSingular(number, withoutSuffix, key) {
  4365. return format(lv__units[key], number, withoutSuffix);
  4366. }
  4367. function relativeSeconds(number, withoutSuffix) {
  4368. return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';
  4369. }
  4370. var lv = moment.defineLocale('lv', {
  4371. months : 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split('_'),
  4372. monthsShort : 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),
  4373. weekdays : 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split('_'),
  4374. weekdaysShort : 'Sv_P_O_T_C_Pk_S'.split('_'),
  4375. weekdaysMin : 'Sv_P_O_T_C_Pk_S'.split('_'),
  4376. weekdaysParseExact : true,
  4377. longDateFormat : {
  4378. LT : 'HH:mm',
  4379. LTS : 'HH:mm:ss',
  4380. L : 'DD.MM.YYYY.',
  4381. LL : 'YYYY. [gada] D. MMMM',
  4382. LLL : 'YYYY. [gada] D. MMMM, HH:mm',
  4383. LLLL : 'YYYY. [gada] D. MMMM, dddd, HH:mm'
  4384. },
  4385. calendar : {
  4386. sameDay : '[Šodien pulksten] LT',
  4387. nextDay : '[Rīt pulksten] LT',
  4388. nextWeek : 'dddd [pulksten] LT',
  4389. lastDay : '[Vakar pulksten] LT',
  4390. lastWeek : '[Pagājušā] dddd [pulksten] LT',
  4391. sameElse : 'L'
  4392. },
  4393. relativeTime : {
  4394. future : 'pēc %s',
  4395. past : 'pirms %s',
  4396. s : relativeSeconds,
  4397. m : relativeTimeWithSingular,
  4398. mm : lv__relativeTimeWithPlural,
  4399. h : relativeTimeWithSingular,
  4400. hh : lv__relativeTimeWithPlural,
  4401. d : relativeTimeWithSingular,
  4402. dd : lv__relativeTimeWithPlural,
  4403. M : relativeTimeWithSingular,
  4404. MM : lv__relativeTimeWithPlural,
  4405. y : relativeTimeWithSingular,
  4406. yy : lv__relativeTimeWithPlural
  4407. },
  4408. ordinalParse: /\d{1,2}\./,
  4409. ordinal : '%d.',
  4410. week : {
  4411. dow : 1, // Monday is the first day of the week.
  4412. doy : 4 // The week that contains Jan 4th is the first week of the year.
  4413. }
  4414. });
  4415. //! moment.js locale configuration
  4416. //! locale : Montenegrin (me)
  4417. //! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac
  4418. var me__translator = {
  4419. words: { //Different grammatical cases
  4420. m: ['jedan minut', 'jednog minuta'],
  4421. mm: ['minut', 'minuta', 'minuta'],
  4422. h: ['jedan sat', 'jednog sata'],
  4423. hh: ['sat', 'sata', 'sati'],
  4424. dd: ['dan', 'dana', 'dana'],
  4425. MM: ['mjesec', 'mjeseca', 'mjeseci'],
  4426. yy: ['godina', 'godine', 'godina']
  4427. },
  4428. correctGrammaticalCase: function (number, wordKey) {
  4429. return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
  4430. },
  4431. translate: function (number, withoutSuffix, key) {
  4432. var wordKey = me__translator.words[key];
  4433. if (key.length === 1) {
  4434. return withoutSuffix ? wordKey[0] : wordKey[1];
  4435. } else {
  4436. return number + ' ' + me__translator.correctGrammaticalCase(number, wordKey);
  4437. }
  4438. }
  4439. };
  4440. var me = moment.defineLocale('me', {
  4441. months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'),
  4442. monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
  4443. monthsParseExact : true,
  4444. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
  4445. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  4446. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  4447. weekdaysParseExact : true,
  4448. longDateFormat: {
  4449. LT: 'H:mm',
  4450. LTS : 'H:mm:ss',
  4451. L: 'DD. MM. YYYY',
  4452. LL: 'D. MMMM YYYY',
  4453. LLL: 'D. MMMM YYYY H:mm',
  4454. LLLL: 'dddd, D. MMMM YYYY H:mm'
  4455. },
  4456. calendar: {
  4457. sameDay: '[danas u] LT',
  4458. nextDay: '[sjutra u] LT',
  4459. nextWeek: function () {
  4460. switch (this.day()) {
  4461. case 0:
  4462. return '[u] [nedjelju] [u] LT';
  4463. case 3:
  4464. return '[u] [srijedu] [u] LT';
  4465. case 6:
  4466. return '[u] [subotu] [u] LT';
  4467. case 1:
  4468. case 2:
  4469. case 4:
  4470. case 5:
  4471. return '[u] dddd [u] LT';
  4472. }
  4473. },
  4474. lastDay : '[juče u] LT',
  4475. lastWeek : function () {
  4476. var lastWeekDays = [
  4477. '[prošle] [nedjelje] [u] LT',
  4478. '[prošlog] [ponedjeljka] [u] LT',
  4479. '[prošlog] [utorka] [u] LT',
  4480. '[prošle] [srijede] [u] LT',
  4481. '[prošlog] [četvrtka] [u] LT',
  4482. '[prošlog] [petka] [u] LT',
  4483. '[prošle] [subote] [u] LT'
  4484. ];
  4485. return lastWeekDays[this.day()];
  4486. },
  4487. sameElse : 'L'
  4488. },
  4489. relativeTime : {
  4490. future : 'za %s',
  4491. past : 'prije %s',
  4492. s : 'nekoliko sekundi',
  4493. m : me__translator.translate,
  4494. mm : me__translator.translate,
  4495. h : me__translator.translate,
  4496. hh : me__translator.translate,
  4497. d : 'dan',
  4498. dd : me__translator.translate,
  4499. M : 'mjesec',
  4500. MM : me__translator.translate,
  4501. y : 'godinu',
  4502. yy : me__translator.translate
  4503. },
  4504. ordinalParse: /\d{1,2}\./,
  4505. ordinal : '%d.',
  4506. week : {
  4507. dow : 1, // Monday is the first day of the week.
  4508. doy : 7 // The week that contains Jan 1st is the first week of the year.
  4509. }
  4510. });
  4511. //! moment.js locale configuration
  4512. //! locale : macedonian (mk)
  4513. //! author : Borislav Mickov : https://github.com/B0k0
  4514. var mk = moment.defineLocale('mk', {
  4515. months : 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'),
  4516. monthsShort : 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),
  4517. weekdays : 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'),
  4518. weekdaysShort : 'нед_пон_вто_сре_чет_пет_саб'.split('_'),
  4519. weekdaysMin : 'нe_пo_вт_ср_че_пе_сa'.split('_'),
  4520. longDateFormat : {
  4521. LT : 'H:mm',
  4522. LTS : 'H:mm:ss',
  4523. L : 'D.MM.YYYY',
  4524. LL : 'D MMMM YYYY',
  4525. LLL : 'D MMMM YYYY H:mm',
  4526. LLLL : 'dddd, D MMMM YYYY H:mm'
  4527. },
  4528. calendar : {
  4529. sameDay : '[Денес во] LT',
  4530. nextDay : '[Утре во] LT',
  4531. nextWeek : '[Во] dddd [во] LT',
  4532. lastDay : '[Вчера во] LT',
  4533. lastWeek : function () {
  4534. switch (this.day()) {
  4535. case 0:
  4536. case 3:
  4537. case 6:
  4538. return '[Изминатата] dddd [во] LT';
  4539. case 1:
  4540. case 2:
  4541. case 4:
  4542. case 5:
  4543. return '[Изминатиот] dddd [во] LT';
  4544. }
  4545. },
  4546. sameElse : 'L'
  4547. },
  4548. relativeTime : {
  4549. future : 'после %s',
  4550. past : 'пред %s',
  4551. s : 'неколку секунди',
  4552. m : 'минута',
  4553. mm : '%d минути',
  4554. h : 'час',
  4555. hh : '%d часа',
  4556. d : 'ден',
  4557. dd : '%d дена',
  4558. M : 'месец',
  4559. MM : '%d месеци',
  4560. y : 'година',
  4561. yy : '%d години'
  4562. },
  4563. ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
  4564. ordinal : function (number) {
  4565. var lastDigit = number % 10,
  4566. last2Digits = number % 100;
  4567. if (number === 0) {
  4568. return number + '-ев';
  4569. } else if (last2Digits === 0) {
  4570. return number + '-ен';
  4571. } else if (last2Digits > 10 && last2Digits < 20) {
  4572. return number + '-ти';
  4573. } else if (lastDigit === 1) {
  4574. return number + '-ви';
  4575. } else if (lastDigit === 2) {
  4576. return number + '-ри';
  4577. } else if (lastDigit === 7 || lastDigit === 8) {
  4578. return number + '-ми';
  4579. } else {
  4580. return number + '-ти';
  4581. }
  4582. },
  4583. week : {
  4584. dow : 1, // Monday is the first day of the week.
  4585. doy : 7 // The week that contains Jan 1st is the first week of the year.
  4586. }
  4587. });
  4588. //! moment.js locale configuration
  4589. //! locale : malayalam (ml)
  4590. //! author : Floyd Pink : https://github.com/floydpink
  4591. var ml = moment.defineLocale('ml', {
  4592. months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'),
  4593. monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'),
  4594. monthsParseExact : true,
  4595. weekdays : 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'),
  4596. weekdaysShort : 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),
  4597. weekdaysMin : 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),
  4598. longDateFormat : {
  4599. LT : 'A h:mm -നു',
  4600. LTS : 'A h:mm:ss -നു',
  4601. L : 'DD/MM/YYYY',
  4602. LL : 'D MMMM YYYY',
  4603. LLL : 'D MMMM YYYY, A h:mm -നു',
  4604. LLLL : 'dddd, D MMMM YYYY, A h:mm -നു'
  4605. },
  4606. calendar : {
  4607. sameDay : '[ഇന്ന്] LT',
  4608. nextDay : '[നാളെ] LT',
  4609. nextWeek : 'dddd, LT',
  4610. lastDay : '[ഇന്നലെ] LT',
  4611. lastWeek : '[കഴിഞ്ഞ] dddd, LT',
  4612. sameElse : 'L'
  4613. },
  4614. relativeTime : {
  4615. future : '%s കഴിഞ്ഞ്',
  4616. past : '%s മുൻപ്',
  4617. s : 'അൽപ നിമിഷങ്ങൾ',
  4618. m : 'ഒരു മിനിറ്റ്',
  4619. mm : '%d മിനിറ്റ്',
  4620. h : 'ഒരു മണിക്കൂർ',
  4621. hh : '%d മണിക്കൂർ',
  4622. d : 'ഒരു ദിവസം',
  4623. dd : '%d ദിവസം',
  4624. M : 'ഒരു മാസം',
  4625. MM : '%d മാസം',
  4626. y : 'ഒരു വർഷം',
  4627. yy : '%d വർഷം'
  4628. },
  4629. meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
  4630. meridiemHour : function (hour, meridiem) {
  4631. if (hour === 12) {
  4632. hour = 0;
  4633. }
  4634. if ((meridiem === 'രാത്രി' && hour >= 4) ||
  4635. meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||
  4636. meridiem === 'വൈകുന്നേരം') {
  4637. return hour + 12;
  4638. } else {
  4639. return hour;
  4640. }
  4641. },
  4642. meridiem : function (hour, minute, isLower) {
  4643. if (hour < 4) {
  4644. return 'രാത്രി';
  4645. } else if (hour < 12) {
  4646. return 'രാവിലെ';
  4647. } else if (hour < 17) {
  4648. return 'ഉച്ച കഴിഞ്ഞ്';
  4649. } else if (hour < 20) {
  4650. return 'വൈകുന്നേരം';
  4651. } else {
  4652. return 'രാത്രി';
  4653. }
  4654. }
  4655. });
  4656. //! moment.js locale configuration
  4657. //! locale : Marathi (mr)
  4658. //! author : Harshad Kale : https://github.com/kalehv
  4659. //! author : Vivek Athalye : https://github.com/vnathalye
  4660. var mr__symbolMap = {
  4661. '1': '१',
  4662. '2': '२',
  4663. '3': '३',
  4664. '4': '४',
  4665. '5': '५',
  4666. '6': '६',
  4667. '7': '७',
  4668. '8': '८',
  4669. '9': '९',
  4670. '0': '०'
  4671. },
  4672. mr__numberMap = {
  4673. '१': '1',
  4674. '२': '2',
  4675. '३': '3',
  4676. '४': '4',
  4677. '५': '5',
  4678. '६': '6',
  4679. '७': '7',
  4680. '८': '8',
  4681. '९': '9',
  4682. '०': '0'
  4683. };
  4684. function relativeTimeMr(number, withoutSuffix, string, isFuture)
  4685. {
  4686. var output = '';
  4687. if (withoutSuffix) {
  4688. switch (string) {
  4689. case 's': output = 'काही सेकंद'; break;
  4690. case 'm': output = 'एक मिनिट'; break;
  4691. case 'mm': output = '%d मिनिटे'; break;
  4692. case 'h': output = 'एक तास'; break;
  4693. case 'hh': output = '%d तास'; break;
  4694. case 'd': output = 'एक दिवस'; break;
  4695. case 'dd': output = '%d दिवस'; break;
  4696. case 'M': output = 'एक महिना'; break;
  4697. case 'MM': output = '%d महिने'; break;
  4698. case 'y': output = 'एक वर्ष'; break;
  4699. case 'yy': output = '%d वर्षे'; break;
  4700. }
  4701. }
  4702. else {
  4703. switch (string) {
  4704. case 's': output = 'काही सेकंदां'; break;
  4705. case 'm': output = 'एका मिनिटा'; break;
  4706. case 'mm': output = '%d मिनिटां'; break;
  4707. case 'h': output = 'एका तासा'; break;
  4708. case 'hh': output = '%d तासां'; break;
  4709. case 'd': output = 'एका दिवसा'; break;
  4710. case 'dd': output = '%d दिवसां'; break;
  4711. case 'M': output = 'एका महिन्या'; break;
  4712. case 'MM': output = '%d महिन्यां'; break;
  4713. case 'y': output = 'एका वर्षा'; break;
  4714. case 'yy': output = '%d वर्षां'; break;
  4715. }
  4716. }
  4717. return output.replace(/%d/i, number);
  4718. }
  4719. var mr = moment.defineLocale('mr', {
  4720. months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'),
  4721. monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'),
  4722. monthsParseExact : true,
  4723. weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
  4724. weekdaysShort : 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
  4725. weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),
  4726. longDateFormat : {
  4727. LT : 'A h:mm वाजता',
  4728. LTS : 'A h:mm:ss वाजता',
  4729. L : 'DD/MM/YYYY',
  4730. LL : 'D MMMM YYYY',
  4731. LLL : 'D MMMM YYYY, A h:mm वाजता',
  4732. LLLL : 'dddd, D MMMM YYYY, A h:mm वाजता'
  4733. },
  4734. calendar : {
  4735. sameDay : '[आज] LT',
  4736. nextDay : '[उद्या] LT',
  4737. nextWeek : 'dddd, LT',
  4738. lastDay : '[काल] LT',
  4739. lastWeek: '[मागील] dddd, LT',
  4740. sameElse : 'L'
  4741. },
  4742. relativeTime : {
  4743. future: '%sमध्ये',
  4744. past: '%sपूर्वी',
  4745. s: relativeTimeMr,
  4746. m: relativeTimeMr,
  4747. mm: relativeTimeMr,
  4748. h: relativeTimeMr,
  4749. hh: relativeTimeMr,
  4750. d: relativeTimeMr,
  4751. dd: relativeTimeMr,
  4752. M: relativeTimeMr,
  4753. MM: relativeTimeMr,
  4754. y: relativeTimeMr,
  4755. yy: relativeTimeMr
  4756. },
  4757. preparse: function (string) {
  4758. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  4759. return mr__numberMap[match];
  4760. });
  4761. },
  4762. postformat: function (string) {
  4763. return string.replace(/\d/g, function (match) {
  4764. return mr__symbolMap[match];
  4765. });
  4766. },
  4767. meridiemParse: /रात्री|सकाळी|दुपारी|सायंकाळी/,
  4768. meridiemHour : function (hour, meridiem) {
  4769. if (hour === 12) {
  4770. hour = 0;
  4771. }
  4772. if (meridiem === 'रात्री') {
  4773. return hour < 4 ? hour : hour + 12;
  4774. } else if (meridiem === 'सकाळी') {
  4775. return hour;
  4776. } else if (meridiem === 'दुपारी') {
  4777. return hour >= 10 ? hour : hour + 12;
  4778. } else if (meridiem === 'सायंकाळी') {
  4779. return hour + 12;
  4780. }
  4781. },
  4782. meridiem: function (hour, minute, isLower) {
  4783. if (hour < 4) {
  4784. return 'रात्री';
  4785. } else if (hour < 10) {
  4786. return 'सकाळी';
  4787. } else if (hour < 17) {
  4788. return 'दुपारी';
  4789. } else if (hour < 20) {
  4790. return 'सायंकाळी';
  4791. } else {
  4792. return 'रात्री';
  4793. }
  4794. },
  4795. week : {
  4796. dow : 0, // Sunday is the first day of the week.
  4797. doy : 6 // The week that contains Jan 1st is the first week of the year.
  4798. }
  4799. });
  4800. //! moment.js locale configuration
  4801. //! locale : Bahasa Malaysia (ms-MY)
  4802. //! author : Weldan Jamili : https://github.com/weldan
  4803. var ms_my = moment.defineLocale('ms-my', {
  4804. months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
  4805. monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
  4806. weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
  4807. weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
  4808. weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
  4809. longDateFormat : {
  4810. LT : 'HH.mm',
  4811. LTS : 'HH.mm.ss',
  4812. L : 'DD/MM/YYYY',
  4813. LL : 'D MMMM YYYY',
  4814. LLL : 'D MMMM YYYY [pukul] HH.mm',
  4815. LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
  4816. },
  4817. meridiemParse: /pagi|tengahari|petang|malam/,
  4818. meridiemHour: function (hour, meridiem) {
  4819. if (hour === 12) {
  4820. hour = 0;
  4821. }
  4822. if (meridiem === 'pagi') {
  4823. return hour;
  4824. } else if (meridiem === 'tengahari') {
  4825. return hour >= 11 ? hour : hour + 12;
  4826. } else if (meridiem === 'petang' || meridiem === 'malam') {
  4827. return hour + 12;
  4828. }
  4829. },
  4830. meridiem : function (hours, minutes, isLower) {
  4831. if (hours < 11) {
  4832. return 'pagi';
  4833. } else if (hours < 15) {
  4834. return 'tengahari';
  4835. } else if (hours < 19) {
  4836. return 'petang';
  4837. } else {
  4838. return 'malam';
  4839. }
  4840. },
  4841. calendar : {
  4842. sameDay : '[Hari ini pukul] LT',
  4843. nextDay : '[Esok pukul] LT',
  4844. nextWeek : 'dddd [pukul] LT',
  4845. lastDay : '[Kelmarin pukul] LT',
  4846. lastWeek : 'dddd [lepas pukul] LT',
  4847. sameElse : 'L'
  4848. },
  4849. relativeTime : {
  4850. future : 'dalam %s',
  4851. past : '%s yang lepas',
  4852. s : 'beberapa saat',
  4853. m : 'seminit',
  4854. mm : '%d minit',
  4855. h : 'sejam',
  4856. hh : '%d jam',
  4857. d : 'sehari',
  4858. dd : '%d hari',
  4859. M : 'sebulan',
  4860. MM : '%d bulan',
  4861. y : 'setahun',
  4862. yy : '%d tahun'
  4863. },
  4864. week : {
  4865. dow : 1, // Monday is the first day of the week.
  4866. doy : 7 // The week that contains Jan 1st is the first week of the year.
  4867. }
  4868. });
  4869. //! moment.js locale configuration
  4870. //! locale : Bahasa Malaysia (ms-MY)
  4871. //! author : Weldan Jamili : https://github.com/weldan
  4872. var ms = moment.defineLocale('ms', {
  4873. months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
  4874. monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
  4875. weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
  4876. weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
  4877. weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
  4878. longDateFormat : {
  4879. LT : 'HH.mm',
  4880. LTS : 'HH.mm.ss',
  4881. L : 'DD/MM/YYYY',
  4882. LL : 'D MMMM YYYY',
  4883. LLL : 'D MMMM YYYY [pukul] HH.mm',
  4884. LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
  4885. },
  4886. meridiemParse: /pagi|tengahari|petang|malam/,
  4887. meridiemHour: function (hour, meridiem) {
  4888. if (hour === 12) {
  4889. hour = 0;
  4890. }
  4891. if (meridiem === 'pagi') {
  4892. return hour;
  4893. } else if (meridiem === 'tengahari') {
  4894. return hour >= 11 ? hour : hour + 12;
  4895. } else if (meridiem === 'petang' || meridiem === 'malam') {
  4896. return hour + 12;
  4897. }
  4898. },
  4899. meridiem : function (hours, minutes, isLower) {
  4900. if (hours < 11) {
  4901. return 'pagi';
  4902. } else if (hours < 15) {
  4903. return 'tengahari';
  4904. } else if (hours < 19) {
  4905. return 'petang';
  4906. } else {
  4907. return 'malam';
  4908. }
  4909. },
  4910. calendar : {
  4911. sameDay : '[Hari ini pukul] LT',
  4912. nextDay : '[Esok pukul] LT',
  4913. nextWeek : 'dddd [pukul] LT',
  4914. lastDay : '[Kelmarin pukul] LT',
  4915. lastWeek : 'dddd [lepas pukul] LT',
  4916. sameElse : 'L'
  4917. },
  4918. relativeTime : {
  4919. future : 'dalam %s',
  4920. past : '%s yang lepas',
  4921. s : 'beberapa saat',
  4922. m : 'seminit',
  4923. mm : '%d minit',
  4924. h : 'sejam',
  4925. hh : '%d jam',
  4926. d : 'sehari',
  4927. dd : '%d hari',
  4928. M : 'sebulan',
  4929. MM : '%d bulan',
  4930. y : 'setahun',
  4931. yy : '%d tahun'
  4932. },
  4933. week : {
  4934. dow : 1, // Monday is the first day of the week.
  4935. doy : 7 // The week that contains Jan 1st is the first week of the year.
  4936. }
  4937. });
  4938. //! moment.js locale configuration
  4939. //! locale : Burmese (my)
  4940. //! author : Squar team, mysquar.com
  4941. var my__symbolMap = {
  4942. '1': '၁',
  4943. '2': '၂',
  4944. '3': '၃',
  4945. '4': '၄',
  4946. '5': '၅',
  4947. '6': '၆',
  4948. '7': '၇',
  4949. '8': '၈',
  4950. '9': '၉',
  4951. '0': '၀'
  4952. }, my__numberMap = {
  4953. '၁': '1',
  4954. '၂': '2',
  4955. '၃': '3',
  4956. '၄': '4',
  4957. '၅': '5',
  4958. '၆': '6',
  4959. '၇': '7',
  4960. '၈': '8',
  4961. '၉': '9',
  4962. '၀': '0'
  4963. };
  4964. var my = moment.defineLocale('my', {
  4965. months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'),
  4966. monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
  4967. weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'),
  4968. weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
  4969. weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
  4970. longDateFormat: {
  4971. LT: 'HH:mm',
  4972. LTS: 'HH:mm:ss',
  4973. L: 'DD/MM/YYYY',
  4974. LL: 'D MMMM YYYY',
  4975. LLL: 'D MMMM YYYY HH:mm',
  4976. LLLL: 'dddd D MMMM YYYY HH:mm'
  4977. },
  4978. calendar: {
  4979. sameDay: '[ယနေ.] LT [မှာ]',
  4980. nextDay: '[မနက်ဖြန်] LT [မှာ]',
  4981. nextWeek: 'dddd LT [မှာ]',
  4982. lastDay: '[မနေ.က] LT [မှာ]',
  4983. lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
  4984. sameElse: 'L'
  4985. },
  4986. relativeTime: {
  4987. future: 'လာမည့် %s မှာ',
  4988. past: 'လွန်ခဲ့သော %s က',
  4989. s: 'စက္ကန်.အနည်းငယ်',
  4990. m: 'တစ်မိနစ်',
  4991. mm: '%d မိနစ်',
  4992. h: 'တစ်နာရီ',
  4993. hh: '%d နာရီ',
  4994. d: 'တစ်ရက်',
  4995. dd: '%d ရက်',
  4996. M: 'တစ်လ',
  4997. MM: '%d လ',
  4998. y: 'တစ်နှစ်',
  4999. yy: '%d နှစ်'
  5000. },
  5001. preparse: function (string) {
  5002. return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
  5003. return my__numberMap[match];
  5004. });
  5005. },
  5006. postformat: function (string) {
  5007. return string.replace(/\d/g, function (match) {
  5008. return my__symbolMap[match];
  5009. });
  5010. },
  5011. week: {
  5012. dow: 1, // Monday is the first day of the week.
  5013. doy: 4 // The week that contains Jan 1st is the first week of the year.
  5014. }
  5015. });
  5016. //! moment.js locale configuration
  5017. //! locale : norwegian bokmål (nb)
  5018. //! authors : Espen Hovlandsdal : https://github.com/rexxars
  5019. //! Sigurd Gartmann : https://github.com/sigurdga
  5020. var nb = moment.defineLocale('nb', {
  5021. months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
  5022. monthsShort : 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
  5023. monthsParseExact : true,
  5024. weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  5025. weekdaysShort : 'sø._ma._ti._on._to._fr._lø.'.split('_'),
  5026. weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
  5027. weekdaysParseExact : true,
  5028. longDateFormat : {
  5029. LT : 'HH:mm',
  5030. LTS : 'HH:mm:ss',
  5031. L : 'DD.MM.YYYY',
  5032. LL : 'D. MMMM YYYY',
  5033. LLL : 'D. MMMM YYYY [kl.] HH:mm',
  5034. LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
  5035. },
  5036. calendar : {
  5037. sameDay: '[i dag kl.] LT',
  5038. nextDay: '[i morgen kl.] LT',
  5039. nextWeek: 'dddd [kl.] LT',
  5040. lastDay: '[i går kl.] LT',
  5041. lastWeek: '[forrige] dddd [kl.] LT',
  5042. sameElse: 'L'
  5043. },
  5044. relativeTime : {
  5045. future : 'om %s',
  5046. past : '%s siden',
  5047. s : 'noen sekunder',
  5048. m : 'ett minutt',
  5049. mm : '%d minutter',
  5050. h : 'en time',
  5051. hh : '%d timer',
  5052. d : 'en dag',
  5053. dd : '%d dager',
  5054. M : 'en måned',
  5055. MM : '%d måneder',
  5056. y : 'ett år',
  5057. yy : '%d år'
  5058. },
  5059. ordinalParse: /\d{1,2}\./,
  5060. ordinal : '%d.',
  5061. week : {
  5062. dow : 1, // Monday is the first day of the week.
  5063. doy : 4 // The week that contains Jan 4th is the first week of the year.
  5064. }
  5065. });
  5066. //! moment.js locale configuration
  5067. //! locale : nepali/nepalese
  5068. //! author : suvash : https://github.com/suvash
  5069. var ne__symbolMap = {
  5070. '1': '१',
  5071. '2': '२',
  5072. '3': '३',
  5073. '4': '४',
  5074. '5': '५',
  5075. '6': '६',
  5076. '7': '७',
  5077. '8': '८',
  5078. '9': '९',
  5079. '0': '०'
  5080. },
  5081. ne__numberMap = {
  5082. '१': '1',
  5083. '२': '2',
  5084. '३': '3',
  5085. '४': '4',
  5086. '५': '5',
  5087. '६': '6',
  5088. '७': '7',
  5089. '८': '8',
  5090. '९': '9',
  5091. '०': '0'
  5092. };
  5093. var ne = moment.defineLocale('ne', {
  5094. months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),
  5095. monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),
  5096. monthsParseExact : true,
  5097. weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),
  5098. weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
  5099. weekdaysMin : 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
  5100. weekdaysParseExact : true,
  5101. longDateFormat : {
  5102. LT : 'Aको h:mm बजे',
  5103. LTS : 'Aको h:mm:ss बजे',
  5104. L : 'DD/MM/YYYY',
  5105. LL : 'D MMMM YYYY',
  5106. LLL : 'D MMMM YYYY, Aको h:mm बजे',
  5107. LLLL : 'dddd, D MMMM YYYY, Aको h:mm बजे'
  5108. },
  5109. preparse: function (string) {
  5110. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  5111. return ne__numberMap[match];
  5112. });
  5113. },
  5114. postformat: function (string) {
  5115. return string.replace(/\d/g, function (match) {
  5116. return ne__symbolMap[match];
  5117. });
  5118. },
  5119. meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
  5120. meridiemHour : function (hour, meridiem) {
  5121. if (hour === 12) {
  5122. hour = 0;
  5123. }
  5124. if (meridiem === 'राति') {
  5125. return hour < 4 ? hour : hour + 12;
  5126. } else if (meridiem === 'बिहान') {
  5127. return hour;
  5128. } else if (meridiem === 'दिउँसो') {
  5129. return hour >= 10 ? hour : hour + 12;
  5130. } else if (meridiem === 'साँझ') {
  5131. return hour + 12;
  5132. }
  5133. },
  5134. meridiem : function (hour, minute, isLower) {
  5135. if (hour < 3) {
  5136. return 'राति';
  5137. } else if (hour < 12) {
  5138. return 'बिहान';
  5139. } else if (hour < 16) {
  5140. return 'दिउँसो';
  5141. } else if (hour < 20) {
  5142. return 'साँझ';
  5143. } else {
  5144. return 'राति';
  5145. }
  5146. },
  5147. calendar : {
  5148. sameDay : '[आज] LT',
  5149. nextDay : '[भोलि] LT',
  5150. nextWeek : '[आउँदो] dddd[,] LT',
  5151. lastDay : '[हिजो] LT',
  5152. lastWeek : '[गएको] dddd[,] LT',
  5153. sameElse : 'L'
  5154. },
  5155. relativeTime : {
  5156. future : '%sमा',
  5157. past : '%s अगाडि',
  5158. s : 'केही क्षण',
  5159. m : 'एक मिनेट',
  5160. mm : '%d मिनेट',
  5161. h : 'एक घण्टा',
  5162. hh : '%d घण्टा',
  5163. d : 'एक दिन',
  5164. dd : '%d दिन',
  5165. M : 'एक महिना',
  5166. MM : '%d महिना',
  5167. y : 'एक बर्ष',
  5168. yy : '%d बर्ष'
  5169. },
  5170. week : {
  5171. dow : 0, // Sunday is the first day of the week.
  5172. doy : 6 // The week that contains Jan 1st is the first week of the year.
  5173. }
  5174. });
  5175. //! moment.js locale configuration
  5176. //! locale : dutch (nl)
  5177. //! author : Joris Röling : https://github.com/jjupiter
  5178. var nl__monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
  5179. nl__monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
  5180. var nl = moment.defineLocale('nl', {
  5181. months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
  5182. monthsShort : function (m, format) {
  5183. if (/-MMM-/.test(format)) {
  5184. return nl__monthsShortWithoutDots[m.month()];
  5185. } else {
  5186. return nl__monthsShortWithDots[m.month()];
  5187. }
  5188. },
  5189. monthsParseExact : true,
  5190. weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
  5191. weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
  5192. weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'),
  5193. weekdaysParseExact : true,
  5194. longDateFormat : {
  5195. LT : 'HH:mm',
  5196. LTS : 'HH:mm:ss',
  5197. L : 'DD-MM-YYYY',
  5198. LL : 'D MMMM YYYY',
  5199. LLL : 'D MMMM YYYY HH:mm',
  5200. LLLL : 'dddd D MMMM YYYY HH:mm'
  5201. },
  5202. calendar : {
  5203. sameDay: '[vandaag om] LT',
  5204. nextDay: '[morgen om] LT',
  5205. nextWeek: 'dddd [om] LT',
  5206. lastDay: '[gisteren om] LT',
  5207. lastWeek: '[afgelopen] dddd [om] LT',
  5208. sameElse: 'L'
  5209. },
  5210. relativeTime : {
  5211. future : 'over %s',
  5212. past : '%s geleden',
  5213. s : 'een paar seconden',
  5214. m : 'één minuut',
  5215. mm : '%d minuten',
  5216. h : 'één uur',
  5217. hh : '%d uur',
  5218. d : 'één dag',
  5219. dd : '%d dagen',
  5220. M : 'één maand',
  5221. MM : '%d maanden',
  5222. y : 'één jaar',
  5223. yy : '%d jaar'
  5224. },
  5225. ordinalParse: /\d{1,2}(ste|de)/,
  5226. ordinal : function (number) {
  5227. return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
  5228. },
  5229. week : {
  5230. dow : 1, // Monday is the first day of the week.
  5231. doy : 4 // The week that contains Jan 4th is the first week of the year.
  5232. }
  5233. });
  5234. //! moment.js locale configuration
  5235. //! locale : norwegian nynorsk (nn)
  5236. //! author : https://github.com/mechuwind
  5237. var nn = moment.defineLocale('nn', {
  5238. months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
  5239. monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
  5240. weekdays : 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
  5241. weekdaysShort : 'sun_mån_tys_ons_tor_fre_lau'.split('_'),
  5242. weekdaysMin : 'su_må_ty_on_to_fr_lø'.split('_'),
  5243. longDateFormat : {
  5244. LT : 'HH:mm',
  5245. LTS : 'HH:mm:ss',
  5246. L : 'DD.MM.YYYY',
  5247. LL : 'D. MMMM YYYY',
  5248. LLL : 'D. MMMM YYYY [kl.] H:mm',
  5249. LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
  5250. },
  5251. calendar : {
  5252. sameDay: '[I dag klokka] LT',
  5253. nextDay: '[I morgon klokka] LT',
  5254. nextWeek: 'dddd [klokka] LT',
  5255. lastDay: '[I går klokka] LT',
  5256. lastWeek: '[Føregåande] dddd [klokka] LT',
  5257. sameElse: 'L'
  5258. },
  5259. relativeTime : {
  5260. future : 'om %s',
  5261. past : '%s sidan',
  5262. s : 'nokre sekund',
  5263. m : 'eit minutt',
  5264. mm : '%d minutt',
  5265. h : 'ein time',
  5266. hh : '%d timar',
  5267. d : 'ein dag',
  5268. dd : '%d dagar',
  5269. M : 'ein månad',
  5270. MM : '%d månader',
  5271. y : 'eit år',
  5272. yy : '%d år'
  5273. },
  5274. ordinalParse: /\d{1,2}\./,
  5275. ordinal : '%d.',
  5276. week : {
  5277. dow : 1, // Monday is the first day of the week.
  5278. doy : 4 // The week that contains Jan 4th is the first week of the year.
  5279. }
  5280. });
  5281. //! moment.js locale configuration
  5282. //! locale : punjabi india (pa-in)
  5283. //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit
  5284. var pa_in__symbolMap = {
  5285. '1': '੧',
  5286. '2': '੨',
  5287. '3': '੩',
  5288. '4': '੪',
  5289. '5': '੫',
  5290. '6': '੬',
  5291. '7': '੭',
  5292. '8': '੮',
  5293. '9': '੯',
  5294. '0': '੦'
  5295. },
  5296. pa_in__numberMap = {
  5297. '੧': '1',
  5298. '੨': '2',
  5299. '੩': '3',
  5300. '੪': '4',
  5301. '੫': '5',
  5302. '੬': '6',
  5303. '੭': '7',
  5304. '੮': '8',
  5305. '੯': '9',
  5306. '੦': '0'
  5307. };
  5308. var pa_in = moment.defineLocale('pa-in', {
  5309. // There are months name as per Nanakshahi Calender but they are not used as rigidly in modern Punjabi.
  5310. months : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
  5311. monthsShort : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
  5312. weekdays : 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'),
  5313. weekdaysShort : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
  5314. weekdaysMin : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
  5315. longDateFormat : {
  5316. LT : 'A h:mm ਵਜੇ',
  5317. LTS : 'A h:mm:ss ਵਜੇ',
  5318. L : 'DD/MM/YYYY',
  5319. LL : 'D MMMM YYYY',
  5320. LLL : 'D MMMM YYYY, A h:mm ਵਜੇ',
  5321. LLLL : 'dddd, D MMMM YYYY, A h:mm ਵਜੇ'
  5322. },
  5323. calendar : {
  5324. sameDay : '[ਅਜ] LT',
  5325. nextDay : '[ਕਲ] LT',
  5326. nextWeek : 'dddd, LT',
  5327. lastDay : '[ਕਲ] LT',
  5328. lastWeek : '[ਪਿਛਲੇ] dddd, LT',
  5329. sameElse : 'L'
  5330. },
  5331. relativeTime : {
  5332. future : '%s ਵਿੱਚ',
  5333. past : '%s ਪਿਛਲੇ',
  5334. s : 'ਕੁਝ ਸਕਿੰਟ',
  5335. m : 'ਇਕ ਮਿੰਟ',
  5336. mm : '%d ਮਿੰਟ',
  5337. h : 'ਇੱਕ ਘੰਟਾ',
  5338. hh : '%d ਘੰਟੇ',
  5339. d : 'ਇੱਕ ਦਿਨ',
  5340. dd : '%d ਦਿਨ',
  5341. M : 'ਇੱਕ ਮਹੀਨਾ',
  5342. MM : '%d ਮਹੀਨੇ',
  5343. y : 'ਇੱਕ ਸਾਲ',
  5344. yy : '%d ਸਾਲ'
  5345. },
  5346. preparse: function (string) {
  5347. return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {
  5348. return pa_in__numberMap[match];
  5349. });
  5350. },
  5351. postformat: function (string) {
  5352. return string.replace(/\d/g, function (match) {
  5353. return pa_in__symbolMap[match];
  5354. });
  5355. },
  5356. // Punjabi notation for meridiems are quite fuzzy in practice. While there exists
  5357. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.
  5358. meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,
  5359. meridiemHour : function (hour, meridiem) {
  5360. if (hour === 12) {
  5361. hour = 0;
  5362. }
  5363. if (meridiem === 'ਰਾਤ') {
  5364. return hour < 4 ? hour : hour + 12;
  5365. } else if (meridiem === 'ਸਵੇਰ') {
  5366. return hour;
  5367. } else if (meridiem === 'ਦੁਪਹਿਰ') {
  5368. return hour >= 10 ? hour : hour + 12;
  5369. } else if (meridiem === 'ਸ਼ਾਮ') {
  5370. return hour + 12;
  5371. }
  5372. },
  5373. meridiem : function (hour, minute, isLower) {
  5374. if (hour < 4) {
  5375. return 'ਰਾਤ';
  5376. } else if (hour < 10) {
  5377. return 'ਸਵੇਰ';
  5378. } else if (hour < 17) {
  5379. return 'ਦੁਪਹਿਰ';
  5380. } else if (hour < 20) {
  5381. return 'ਸ਼ਾਮ';
  5382. } else {
  5383. return 'ਰਾਤ';
  5384. }
  5385. },
  5386. week : {
  5387. dow : 0, // Sunday is the first day of the week.
  5388. doy : 6 // The week that contains Jan 1st is the first week of the year.
  5389. }
  5390. });
  5391. //! moment.js locale configuration
  5392. //! locale : polish (pl)
  5393. //! author : Rafal Hirsz : https://github.com/evoL
  5394. var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'),
  5395. monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_');
  5396. function pl__plural(n) {
  5397. return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1);
  5398. }
  5399. function pl__translate(number, withoutSuffix, key) {
  5400. var result = number + ' ';
  5401. switch (key) {
  5402. case 'm':
  5403. return withoutSuffix ? 'minuta' : 'minutę';
  5404. case 'mm':
  5405. return result + (pl__plural(number) ? 'minuty' : 'minut');
  5406. case 'h':
  5407. return withoutSuffix ? 'godzina' : 'godzinę';
  5408. case 'hh':
  5409. return result + (pl__plural(number) ? 'godziny' : 'godzin');
  5410. case 'MM':
  5411. return result + (pl__plural(number) ? 'miesiące' : 'miesięcy');
  5412. case 'yy':
  5413. return result + (pl__plural(number) ? 'lata' : 'lat');
  5414. }
  5415. }
  5416. var pl = moment.defineLocale('pl', {
  5417. months : function (momentToFormat, format) {
  5418. if (format === '') {
  5419. // Hack: if format empty we know this is used to generate
  5420. // RegExp by moment. Give then back both valid forms of months
  5421. // in RegExp ready format.
  5422. return '(' + monthsSubjective[momentToFormat.month()] + '|' + monthsNominative[momentToFormat.month()] + ')';
  5423. } else if (/D MMMM/.test(format)) {
  5424. return monthsSubjective[momentToFormat.month()];
  5425. } else {
  5426. return monthsNominative[momentToFormat.month()];
  5427. }
  5428. },
  5429. monthsShort : 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
  5430. weekdays : 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),
  5431. weekdaysShort : 'nie_pon_wt_śr_czw_pt_sb'.split('_'),
  5432. weekdaysMin : 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
  5433. longDateFormat : {
  5434. LT : 'HH:mm',
  5435. LTS : 'HH:mm:ss',
  5436. L : 'DD.MM.YYYY',
  5437. LL : 'D MMMM YYYY',
  5438. LLL : 'D MMMM YYYY HH:mm',
  5439. LLLL : 'dddd, D MMMM YYYY HH:mm'
  5440. },
  5441. calendar : {
  5442. sameDay: '[Dziś o] LT',
  5443. nextDay: '[Jutro o] LT',
  5444. nextWeek: '[W] dddd [o] LT',
  5445. lastDay: '[Wczoraj o] LT',
  5446. lastWeek: function () {
  5447. switch (this.day()) {
  5448. case 0:
  5449. return '[W zeszłą niedzielę o] LT';
  5450. case 3:
  5451. return '[W zeszłą środę o] LT';
  5452. case 6:
  5453. return '[W zeszłą sobotę o] LT';
  5454. default:
  5455. return '[W zeszły] dddd [o] LT';
  5456. }
  5457. },
  5458. sameElse: 'L'
  5459. },
  5460. relativeTime : {
  5461. future : 'za %s',
  5462. past : '%s temu',
  5463. s : 'kilka sekund',
  5464. m : pl__translate,
  5465. mm : pl__translate,
  5466. h : pl__translate,
  5467. hh : pl__translate,
  5468. d : '1 dzień',
  5469. dd : '%d dni',
  5470. M : 'miesiąc',
  5471. MM : pl__translate,
  5472. y : 'rok',
  5473. yy : pl__translate
  5474. },
  5475. ordinalParse: /\d{1,2}\./,
  5476. ordinal : '%d.',
  5477. week : {
  5478. dow : 1, // Monday is the first day of the week.
  5479. doy : 4 // The week that contains Jan 4th is the first week of the year.
  5480. }
  5481. });
  5482. //! moment.js locale configuration
  5483. //! locale : brazilian portuguese (pt-br)
  5484. //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
  5485. var pt_br = moment.defineLocale('pt-br', {
  5486. months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
  5487. monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
  5488. weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
  5489. weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
  5490. weekdaysMin : 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'),
  5491. weekdaysParseExact : true,
  5492. longDateFormat : {
  5493. LT : 'HH:mm',
  5494. LTS : 'HH:mm:ss',
  5495. L : 'DD/MM/YYYY',
  5496. LL : 'D [de] MMMM [de] YYYY',
  5497. LLL : 'D [de] MMMM [de] YYYY [às] HH:mm',
  5498. LLLL : 'dddd, D [de] MMMM [de] YYYY [às] HH:mm'
  5499. },
  5500. calendar : {
  5501. sameDay: '[Hoje às] LT',
  5502. nextDay: '[Amanhã às] LT',
  5503. nextWeek: 'dddd [às] LT',
  5504. lastDay: '[Ontem às] LT',
  5505. lastWeek: function () {
  5506. return (this.day() === 0 || this.day() === 6) ?
  5507. '[Último] dddd [às] LT' : // Saturday + Sunday
  5508. '[Última] dddd [às] LT'; // Monday - Friday
  5509. },
  5510. sameElse: 'L'
  5511. },
  5512. relativeTime : {
  5513. future : 'em %s',
  5514. past : '%s atrás',
  5515. s : 'poucos segundos',
  5516. m : 'um minuto',
  5517. mm : '%d minutos',
  5518. h : 'uma hora',
  5519. hh : '%d horas',
  5520. d : 'um dia',
  5521. dd : '%d dias',
  5522. M : 'um mês',
  5523. MM : '%d meses',
  5524. y : 'um ano',
  5525. yy : '%d anos'
  5526. },
  5527. ordinalParse: /\d{1,2}º/,
  5528. ordinal : '%dº'
  5529. });
  5530. //! moment.js locale configuration
  5531. //! locale : portuguese (pt)
  5532. //! author : Jefferson : https://github.com/jalex79
  5533. var pt = moment.defineLocale('pt', {
  5534. months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
  5535. monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
  5536. weekdays : 'Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado'.split('_'),
  5537. weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
  5538. weekdaysMin : 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'),
  5539. weekdaysParseExact : true,
  5540. longDateFormat : {
  5541. LT : 'HH:mm',
  5542. LTS : 'HH:mm:ss',
  5543. L : 'DD/MM/YYYY',
  5544. LL : 'D [de] MMMM [de] YYYY',
  5545. LLL : 'D [de] MMMM [de] YYYY HH:mm',
  5546. LLLL : 'dddd, D [de] MMMM [de] YYYY HH:mm'
  5547. },
  5548. calendar : {
  5549. sameDay: '[Hoje às] LT',
  5550. nextDay: '[Amanhã às] LT',
  5551. nextWeek: 'dddd [às] LT',
  5552. lastDay: '[Ontem às] LT',
  5553. lastWeek: function () {
  5554. return (this.day() === 0 || this.day() === 6) ?
  5555. '[Último] dddd [às] LT' : // Saturday + Sunday
  5556. '[Última] dddd [às] LT'; // Monday - Friday
  5557. },
  5558. sameElse: 'L'
  5559. },
  5560. relativeTime : {
  5561. future : 'em %s',
  5562. past : 'há %s',
  5563. s : 'segundos',
  5564. m : 'um minuto',
  5565. mm : '%d minutos',
  5566. h : 'uma hora',
  5567. hh : '%d horas',
  5568. d : 'um dia',
  5569. dd : '%d dias',
  5570. M : 'um mês',
  5571. MM : '%d meses',
  5572. y : 'um ano',
  5573. yy : '%d anos'
  5574. },
  5575. ordinalParse: /\d{1,2}º/,
  5576. ordinal : '%dº',
  5577. week : {
  5578. dow : 1, // Monday is the first day of the week.
  5579. doy : 4 // The week that contains Jan 4th is the first week of the year.
  5580. }
  5581. });
  5582. //! moment.js locale configuration
  5583. //! locale : romanian (ro)
  5584. //! author : Vlad Gurdiga : https://github.com/gurdiga
  5585. //! author : Valentin Agachi : https://github.com/avaly
  5586. function ro__relativeTimeWithPlural(number, withoutSuffix, key) {
  5587. var format = {
  5588. 'mm': 'minute',
  5589. 'hh': 'ore',
  5590. 'dd': 'zile',
  5591. 'MM': 'luni',
  5592. 'yy': 'ani'
  5593. },
  5594. separator = ' ';
  5595. if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
  5596. separator = ' de ';
  5597. }
  5598. return number + separator + format[key];
  5599. }
  5600. var ro = moment.defineLocale('ro', {
  5601. months : 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'),
  5602. monthsShort : 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'),
  5603. monthsParseExact: true,
  5604. weekdays : 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
  5605. weekdaysShort : 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
  5606. weekdaysMin : 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
  5607. longDateFormat : {
  5608. LT : 'H:mm',
  5609. LTS : 'H:mm:ss',
  5610. L : 'DD.MM.YYYY',
  5611. LL : 'D MMMM YYYY',
  5612. LLL : 'D MMMM YYYY H:mm',
  5613. LLLL : 'dddd, D MMMM YYYY H:mm'
  5614. },
  5615. calendar : {
  5616. sameDay: '[azi la] LT',
  5617. nextDay: '[mâine la] LT',
  5618. nextWeek: 'dddd [la] LT',
  5619. lastDay: '[ieri la] LT',
  5620. lastWeek: '[fosta] dddd [la] LT',
  5621. sameElse: 'L'
  5622. },
  5623. relativeTime : {
  5624. future : 'peste %s',
  5625. past : '%s în urmă',
  5626. s : 'câteva secunde',
  5627. m : 'un minut',
  5628. mm : ro__relativeTimeWithPlural,
  5629. h : 'o oră',
  5630. hh : ro__relativeTimeWithPlural,
  5631. d : 'o zi',
  5632. dd : ro__relativeTimeWithPlural,
  5633. M : 'o lună',
  5634. MM : ro__relativeTimeWithPlural,
  5635. y : 'un an',
  5636. yy : ro__relativeTimeWithPlural
  5637. },
  5638. week : {
  5639. dow : 1, // Monday is the first day of the week.
  5640. doy : 7 // The week that contains Jan 1st is the first week of the year.
  5641. }
  5642. });
  5643. //! moment.js locale configuration
  5644. //! locale : russian (ru)
  5645. //! author : Viktorminator : https://github.com/Viktorminator
  5646. //! Author : Menelion Elensúle : https://github.com/Oire
  5647. //! author : Коренберг Марк : https://github.com/socketpair
  5648. function ru__plural(word, num) {
  5649. var forms = word.split('_');
  5650. return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]);
  5651. }
  5652. function ru__relativeTimeWithPlural(number, withoutSuffix, key) {
  5653. var format = {
  5654. 'mm': withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
  5655. 'hh': 'час_часа_часов',
  5656. 'dd': 'день_дня_дней',
  5657. 'MM': 'месяц_месяца_месяцев',
  5658. 'yy': 'год_года_лет'
  5659. };
  5660. if (key === 'm') {
  5661. return withoutSuffix ? 'минута' : 'минуту';
  5662. }
  5663. else {
  5664. return number + ' ' + ru__plural(format[key], +number);
  5665. }
  5666. }
  5667. var monthsParse = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i];
  5668. // http://new.gramota.ru/spravka/rules/139-prop : § 103
  5669. // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637
  5670. // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753
  5671. var ru = moment.defineLocale('ru', {
  5672. months : {
  5673. format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_'),
  5674. standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_')
  5675. },
  5676. monthsShort : {
  5677. // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку ?
  5678. format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split('_'),
  5679. standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split('_')
  5680. },
  5681. weekdays : {
  5682. standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'),
  5683. format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_'),
  5684. isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/
  5685. },
  5686. weekdaysShort : 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
  5687. weekdaysMin : 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
  5688. monthsParse : monthsParse,
  5689. longMonthsParse : monthsParse,
  5690. shortMonthsParse : monthsParse,
  5691. monthsRegex: /^(сентябр[яь]|октябр[яь]|декабр[яь]|феврал[яь]|январ[яь]|апрел[яь]|августа?|ноябр[яь]|сент\.|февр\.|нояб\.|июнь|янв.|июль|дек.|авг.|апр.|марта|мар[.т]|окт.|июн[яь]|июл[яь]|ма[яй])/i,
  5692. monthsShortRegex: /^(сентябр[яь]|октябр[яь]|декабр[яь]|феврал[яь]|январ[яь]|апрел[яь]|августа?|ноябр[яь]|сент\.|февр\.|нояб\.|июнь|янв.|июль|дек.|авг.|апр.|марта|мар[.т]|окт.|июн[яь]|июл[яь]|ма[яй])/i,
  5693. monthsStrictRegex: /^(сентябр[яь]|октябр[яь]|декабр[яь]|феврал[яь]|январ[яь]|апрел[яь]|августа?|ноябр[яь]|марта?|июн[яь]|июл[яь]|ма[яй])/i,
  5694. monthsShortStrictRegex: /^(нояб\.|февр\.|сент\.|июль|янв\.|июн[яь]|мар[.т]|авг\.|апр\.|окт\.|дек\.|ма[яй])/i,
  5695. longDateFormat : {
  5696. LT : 'HH:mm',
  5697. LTS : 'HH:mm:ss',
  5698. L : 'DD.MM.YYYY',
  5699. LL : 'D MMMM YYYY г.',
  5700. LLL : 'D MMMM YYYY г., HH:mm',
  5701. LLLL : 'dddd, D MMMM YYYY г., HH:mm'
  5702. },
  5703. calendar : {
  5704. sameDay: '[Сегодня в] LT',
  5705. nextDay: '[Завтра в] LT',
  5706. lastDay: '[Вчера в] LT',
  5707. nextWeek: function (now) {
  5708. if (now.week() !== this.week()) {
  5709. switch (this.day()) {
  5710. case 0:
  5711. return '[В следующее] dddd [в] LT';
  5712. case 1:
  5713. case 2:
  5714. case 4:
  5715. return '[В следующий] dddd [в] LT';
  5716. case 3:
  5717. case 5:
  5718. case 6:
  5719. return '[В следующую] dddd [в] LT';
  5720. }
  5721. } else {
  5722. if (this.day() === 2) {
  5723. return '[Во] dddd [в] LT';
  5724. } else {
  5725. return '[В] dddd [в] LT';
  5726. }
  5727. }
  5728. },
  5729. lastWeek: function (now) {
  5730. if (now.week() !== this.week()) {
  5731. switch (this.day()) {
  5732. case 0:
  5733. return '[В прошлое] dddd [в] LT';
  5734. case 1:
  5735. case 2:
  5736. case 4:
  5737. return '[В прошлый] dddd [в] LT';
  5738. case 3:
  5739. case 5:
  5740. case 6:
  5741. return '[В прошлую] dddd [в] LT';
  5742. }
  5743. } else {
  5744. if (this.day() === 2) {
  5745. return '[Во] dddd [в] LT';
  5746. } else {
  5747. return '[В] dddd [в] LT';
  5748. }
  5749. }
  5750. },
  5751. sameElse: 'L'
  5752. },
  5753. relativeTime : {
  5754. future : 'через %s',
  5755. past : '%s назад',
  5756. s : 'несколько секунд',
  5757. m : ru__relativeTimeWithPlural,
  5758. mm : ru__relativeTimeWithPlural,
  5759. h : 'час',
  5760. hh : ru__relativeTimeWithPlural,
  5761. d : 'день',
  5762. dd : ru__relativeTimeWithPlural,
  5763. M : 'месяц',
  5764. MM : ru__relativeTimeWithPlural,
  5765. y : 'год',
  5766. yy : ru__relativeTimeWithPlural
  5767. },
  5768. meridiemParse: /ночи|утра|дня|вечера/i,
  5769. isPM : function (input) {
  5770. return /^(дня|вечера)$/.test(input);
  5771. },
  5772. meridiem : function (hour, minute, isLower) {
  5773. if (hour < 4) {
  5774. return 'ночи';
  5775. } else if (hour < 12) {
  5776. return 'утра';
  5777. } else if (hour < 17) {
  5778. return 'дня';
  5779. } else {
  5780. return 'вечера';
  5781. }
  5782. },
  5783. ordinalParse: /\d{1,2}-(й|го|я)/,
  5784. ordinal: function (number, period) {
  5785. switch (period) {
  5786. case 'M':
  5787. case 'd':
  5788. case 'DDD':
  5789. return number + '-й';
  5790. case 'D':
  5791. return number + '-го';
  5792. case 'w':
  5793. case 'W':
  5794. return number + '-я';
  5795. default:
  5796. return number;
  5797. }
  5798. },
  5799. week : {
  5800. dow : 1, // Monday is the first day of the week.
  5801. doy : 7 // The week that contains Jan 1st is the first week of the year.
  5802. }
  5803. });
  5804. //! moment.js locale configuration
  5805. //! locale : Northern Sami (se)
  5806. //! authors : Bård Rolstad Henriksen : https://github.com/karamell
  5807. var se = moment.defineLocale('se', {
  5808. months : 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'),
  5809. monthsShort : 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),
  5810. weekdays : 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'),
  5811. weekdaysShort : 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),
  5812. weekdaysMin : 's_v_m_g_d_b_L'.split('_'),
  5813. longDateFormat : {
  5814. LT : 'HH:mm',
  5815. LTS : 'HH:mm:ss',
  5816. L : 'DD.MM.YYYY',
  5817. LL : 'MMMM D. [b.] YYYY',
  5818. LLL : 'MMMM D. [b.] YYYY [ti.] HH:mm',
  5819. LLLL : 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm'
  5820. },
  5821. calendar : {
  5822. sameDay: '[otne ti] LT',
  5823. nextDay: '[ihttin ti] LT',
  5824. nextWeek: 'dddd [ti] LT',
  5825. lastDay: '[ikte ti] LT',
  5826. lastWeek: '[ovddit] dddd [ti] LT',
  5827. sameElse: 'L'
  5828. },
  5829. relativeTime : {
  5830. future : '%s geažes',
  5831. past : 'maŋit %s',
  5832. s : 'moadde sekunddat',
  5833. m : 'okta minuhta',
  5834. mm : '%d minuhtat',
  5835. h : 'okta diimmu',
  5836. hh : '%d diimmut',
  5837. d : 'okta beaivi',
  5838. dd : '%d beaivvit',
  5839. M : 'okta mánnu',
  5840. MM : '%d mánut',
  5841. y : 'okta jahki',
  5842. yy : '%d jagit'
  5843. },
  5844. ordinalParse: /\d{1,2}\./,
  5845. ordinal : '%d.',
  5846. week : {
  5847. dow : 1, // Monday is the first day of the week.
  5848. doy : 4 // The week that contains Jan 4th is the first week of the year.
  5849. }
  5850. });
  5851. //! moment.js locale configuration
  5852. //! locale : Sinhalese (si)
  5853. //! author : Sampath Sitinamaluwa : https://github.com/sampathsris
  5854. /*jshint -W100*/
  5855. var si = moment.defineLocale('si', {
  5856. months : 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split('_'),
  5857. monthsShort : 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split('_'),
  5858. weekdays : 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'),
  5859. weekdaysShort : 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'),
  5860. weekdaysMin : 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'),
  5861. weekdaysParseExact : true,
  5862. longDateFormat : {
  5863. LT : 'a h:mm',
  5864. LTS : 'a h:mm:ss',
  5865. L : 'YYYY/MM/DD',
  5866. LL : 'YYYY MMMM D',
  5867. LLL : 'YYYY MMMM D, a h:mm',
  5868. LLLL : 'YYYY MMMM D [වැනි] dddd, a h:mm:ss'
  5869. },
  5870. calendar : {
  5871. sameDay : '[අද] LT[ට]',
  5872. nextDay : '[හෙට] LT[ට]',
  5873. nextWeek : 'dddd LT[ට]',
  5874. lastDay : '[ඊයේ] LT[ට]',
  5875. lastWeek : '[පසුගිය] dddd LT[ට]',
  5876. sameElse : 'L'
  5877. },
  5878. relativeTime : {
  5879. future : '%sකින්',
  5880. past : '%sකට පෙර',
  5881. s : 'තත්පර කිහිපය',
  5882. m : 'මිනිත්තුව',
  5883. mm : 'මිනිත්තු %d',
  5884. h : 'පැය',
  5885. hh : 'පැය %d',
  5886. d : 'දිනය',
  5887. dd : 'දින %d',
  5888. M : 'මාසය',
  5889. MM : 'මාස %d',
  5890. y : 'වසර',
  5891. yy : 'වසර %d'
  5892. },
  5893. ordinalParse: /\d{1,2} වැනි/,
  5894. ordinal : function (number) {
  5895. return number + ' වැනි';
  5896. },
  5897. meridiemParse : /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,
  5898. isPM : function (input) {
  5899. return input === 'ප.ව.' || input === 'පස් වරු';
  5900. },
  5901. meridiem : function (hours, minutes, isLower) {
  5902. if (hours > 11) {
  5903. return isLower ? 'ප.ව.' : 'පස් වරු';
  5904. } else {
  5905. return isLower ? 'පෙ.ව.' : 'පෙර වරු';
  5906. }
  5907. }
  5908. });
  5909. //! moment.js locale configuration
  5910. //! locale : slovak (sk)
  5911. //! author : Martin Minka : https://github.com/k2s
  5912. //! based on work of petrbela : https://github.com/petrbela
  5913. var sk__months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'),
  5914. sk__monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
  5915. function sk__plural(n) {
  5916. return (n > 1) && (n < 5);
  5917. }
  5918. function sk__translate(number, withoutSuffix, key, isFuture) {
  5919. var result = number + ' ';
  5920. switch (key) {
  5921. case 's': // a few seconds / in a few seconds / a few seconds ago
  5922. return (withoutSuffix || isFuture) ? 'pár sekúnd' : 'pár sekundami';
  5923. case 'm': // a minute / in a minute / a minute ago
  5924. return withoutSuffix ? 'minúta' : (isFuture ? 'minútu' : 'minútou');
  5925. case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
  5926. if (withoutSuffix || isFuture) {
  5927. return result + (sk__plural(number) ? 'minúty' : 'minút');
  5928. } else {
  5929. return result + 'minútami';
  5930. }
  5931. break;
  5932. case 'h': // an hour / in an hour / an hour ago
  5933. return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou');
  5934. case 'hh': // 9 hours / in 9 hours / 9 hours ago
  5935. if (withoutSuffix || isFuture) {
  5936. return result + (sk__plural(number) ? 'hodiny' : 'hodín');
  5937. } else {
  5938. return result + 'hodinami';
  5939. }
  5940. break;
  5941. case 'd': // a day / in a day / a day ago
  5942. return (withoutSuffix || isFuture) ? 'deň' : 'dňom';
  5943. case 'dd': // 9 days / in 9 days / 9 days ago
  5944. if (withoutSuffix || isFuture) {
  5945. return result + (sk__plural(number) ? 'dni' : 'dní');
  5946. } else {
  5947. return result + 'dňami';
  5948. }
  5949. break;
  5950. case 'M': // a month / in a month / a month ago
  5951. return (withoutSuffix || isFuture) ? 'mesiac' : 'mesiacom';
  5952. case 'MM': // 9 months / in 9 months / 9 months ago
  5953. if (withoutSuffix || isFuture) {
  5954. return result + (sk__plural(number) ? 'mesiace' : 'mesiacov');
  5955. } else {
  5956. return result + 'mesiacmi';
  5957. }
  5958. break;
  5959. case 'y': // a year / in a year / a year ago
  5960. return (withoutSuffix || isFuture) ? 'rok' : 'rokom';
  5961. case 'yy': // 9 years / in 9 years / 9 years ago
  5962. if (withoutSuffix || isFuture) {
  5963. return result + (sk__plural(number) ? 'roky' : 'rokov');
  5964. } else {
  5965. return result + 'rokmi';
  5966. }
  5967. break;
  5968. }
  5969. }
  5970. var sk = moment.defineLocale('sk', {
  5971. months : sk__months,
  5972. monthsShort : sk__monthsShort,
  5973. weekdays : 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
  5974. weekdaysShort : 'ne_po_ut_st_št_pi_so'.split('_'),
  5975. weekdaysMin : 'ne_po_ut_st_št_pi_so'.split('_'),
  5976. longDateFormat : {
  5977. LT: 'H:mm',
  5978. LTS : 'H:mm:ss',
  5979. L : 'DD.MM.YYYY',
  5980. LL : 'D. MMMM YYYY',
  5981. LLL : 'D. MMMM YYYY H:mm',
  5982. LLLL : 'dddd D. MMMM YYYY H:mm'
  5983. },
  5984. calendar : {
  5985. sameDay: '[dnes o] LT',
  5986. nextDay: '[zajtra o] LT',
  5987. nextWeek: function () {
  5988. switch (this.day()) {
  5989. case 0:
  5990. return '[v nedeľu o] LT';
  5991. case 1:
  5992. case 2:
  5993. return '[v] dddd [o] LT';
  5994. case 3:
  5995. return '[v stredu o] LT';
  5996. case 4:
  5997. return '[vo štvrtok o] LT';
  5998. case 5:
  5999. return '[v piatok o] LT';
  6000. case 6:
  6001. return '[v sobotu o] LT';
  6002. }
  6003. },
  6004. lastDay: '[včera o] LT',
  6005. lastWeek: function () {
  6006. switch (this.day()) {
  6007. case 0:
  6008. return '[minulú nedeľu o] LT';
  6009. case 1:
  6010. case 2:
  6011. return '[minulý] dddd [o] LT';
  6012. case 3:
  6013. return '[minulú stredu o] LT';
  6014. case 4:
  6015. case 5:
  6016. return '[minulý] dddd [o] LT';
  6017. case 6:
  6018. return '[minulú sobotu o] LT';
  6019. }
  6020. },
  6021. sameElse: 'L'
  6022. },
  6023. relativeTime : {
  6024. future : 'za %s',
  6025. past : 'pred %s',
  6026. s : sk__translate,
  6027. m : sk__translate,
  6028. mm : sk__translate,
  6029. h : sk__translate,
  6030. hh : sk__translate,
  6031. d : sk__translate,
  6032. dd : sk__translate,
  6033. M : sk__translate,
  6034. MM : sk__translate,
  6035. y : sk__translate,
  6036. yy : sk__translate
  6037. },
  6038. ordinalParse: /\d{1,2}\./,
  6039. ordinal : '%d.',
  6040. week : {
  6041. dow : 1, // Monday is the first day of the week.
  6042. doy : 4 // The week that contains Jan 4th is the first week of the year.
  6043. }
  6044. });
  6045. //! moment.js locale configuration
  6046. //! locale : slovenian (sl)
  6047. //! author : Robert Sedovšek : https://github.com/sedovsek
  6048. function sl__processRelativeTime(number, withoutSuffix, key, isFuture) {
  6049. var result = number + ' ';
  6050. switch (key) {
  6051. case 's':
  6052. return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami';
  6053. case 'm':
  6054. return withoutSuffix ? 'ena minuta' : 'eno minuto';
  6055. case 'mm':
  6056. if (number === 1) {
  6057. result += withoutSuffix ? 'minuta' : 'minuto';
  6058. } else if (number === 2) {
  6059. result += withoutSuffix || isFuture ? 'minuti' : 'minutama';
  6060. } else if (number < 5) {
  6061. result += withoutSuffix || isFuture ? 'minute' : 'minutami';
  6062. } else {
  6063. result += withoutSuffix || isFuture ? 'minut' : 'minutami';
  6064. }
  6065. return result;
  6066. case 'h':
  6067. return withoutSuffix ? 'ena ura' : 'eno uro';
  6068. case 'hh':
  6069. if (number === 1) {
  6070. result += withoutSuffix ? 'ura' : 'uro';
  6071. } else if (number === 2) {
  6072. result += withoutSuffix || isFuture ? 'uri' : 'urama';
  6073. } else if (number < 5) {
  6074. result += withoutSuffix || isFuture ? 'ure' : 'urami';
  6075. } else {
  6076. result += withoutSuffix || isFuture ? 'ur' : 'urami';
  6077. }
  6078. return result;
  6079. case 'd':
  6080. return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';
  6081. case 'dd':
  6082. if (number === 1) {
  6083. result += withoutSuffix || isFuture ? 'dan' : 'dnem';
  6084. } else if (number === 2) {
  6085. result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';
  6086. } else {
  6087. result += withoutSuffix || isFuture ? 'dni' : 'dnevi';
  6088. }
  6089. return result;
  6090. case 'M':
  6091. return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';
  6092. case 'MM':
  6093. if (number === 1) {
  6094. result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';
  6095. } else if (number === 2) {
  6096. result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';
  6097. } else if (number < 5) {
  6098. result += withoutSuffix || isFuture ? 'mesece' : 'meseci';
  6099. } else {
  6100. result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';
  6101. }
  6102. return result;
  6103. case 'y':
  6104. return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';
  6105. case 'yy':
  6106. if (number === 1) {
  6107. result += withoutSuffix || isFuture ? 'leto' : 'letom';
  6108. } else if (number === 2) {
  6109. result += withoutSuffix || isFuture ? 'leti' : 'letoma';
  6110. } else if (number < 5) {
  6111. result += withoutSuffix || isFuture ? 'leta' : 'leti';
  6112. } else {
  6113. result += withoutSuffix || isFuture ? 'let' : 'leti';
  6114. }
  6115. return result;
  6116. }
  6117. }
  6118. var sl = moment.defineLocale('sl', {
  6119. months : 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'),
  6120. monthsShort : 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'),
  6121. monthsParseExact: true,
  6122. weekdays : 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),
  6123. weekdaysShort : 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),
  6124. weekdaysMin : 'ne_po_to_sr_če_pe_so'.split('_'),
  6125. weekdaysParseExact : true,
  6126. longDateFormat : {
  6127. LT : 'H:mm',
  6128. LTS : 'H:mm:ss',
  6129. L : 'DD. MM. YYYY',
  6130. LL : 'D. MMMM YYYY',
  6131. LLL : 'D. MMMM YYYY H:mm',
  6132. LLLL : 'dddd, D. MMMM YYYY H:mm'
  6133. },
  6134. calendar : {
  6135. sameDay : '[danes ob] LT',
  6136. nextDay : '[jutri ob] LT',
  6137. nextWeek : function () {
  6138. switch (this.day()) {
  6139. case 0:
  6140. return '[v] [nedeljo] [ob] LT';
  6141. case 3:
  6142. return '[v] [sredo] [ob] LT';
  6143. case 6:
  6144. return '[v] [soboto] [ob] LT';
  6145. case 1:
  6146. case 2:
  6147. case 4:
  6148. case 5:
  6149. return '[v] dddd [ob] LT';
  6150. }
  6151. },
  6152. lastDay : '[včeraj ob] LT',
  6153. lastWeek : function () {
  6154. switch (this.day()) {
  6155. case 0:
  6156. return '[prejšnjo] [nedeljo] [ob] LT';
  6157. case 3:
  6158. return '[prejšnjo] [sredo] [ob] LT';
  6159. case 6:
  6160. return '[prejšnjo] [soboto] [ob] LT';
  6161. case 1:
  6162. case 2:
  6163. case 4:
  6164. case 5:
  6165. return '[prejšnji] dddd [ob] LT';
  6166. }
  6167. },
  6168. sameElse : 'L'
  6169. },
  6170. relativeTime : {
  6171. future : 'čez %s',
  6172. past : 'pred %s',
  6173. s : sl__processRelativeTime,
  6174. m : sl__processRelativeTime,
  6175. mm : sl__processRelativeTime,
  6176. h : sl__processRelativeTime,
  6177. hh : sl__processRelativeTime,
  6178. d : sl__processRelativeTime,
  6179. dd : sl__processRelativeTime,
  6180. M : sl__processRelativeTime,
  6181. MM : sl__processRelativeTime,
  6182. y : sl__processRelativeTime,
  6183. yy : sl__processRelativeTime
  6184. },
  6185. ordinalParse: /\d{1,2}\./,
  6186. ordinal : '%d.',
  6187. week : {
  6188. dow : 1, // Monday is the first day of the week.
  6189. doy : 7 // The week that contains Jan 1st is the first week of the year.
  6190. }
  6191. });
  6192. //! moment.js locale configuration
  6193. //! locale : Albanian (sq)
  6194. //! author : Flakërim Ismani : https://github.com/flakerimi
  6195. //! author: Menelion Elensúle: https://github.com/Oire (tests)
  6196. //! author : Oerd Cukalla : https://github.com/oerd (fixes)
  6197. var sq = moment.defineLocale('sq', {
  6198. months : 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'),
  6199. monthsShort : 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
  6200. weekdays : 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'),
  6201. weekdaysShort : 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
  6202. weekdaysMin : 'D_H_Ma_Më_E_P_Sh'.split('_'),
  6203. weekdaysParseExact : true,
  6204. meridiemParse: /PD|MD/,
  6205. isPM: function (input) {
  6206. return input.charAt(0) === 'M';
  6207. },
  6208. meridiem : function (hours, minutes, isLower) {
  6209. return hours < 12 ? 'PD' : 'MD';
  6210. },
  6211. longDateFormat : {
  6212. LT : 'HH:mm',
  6213. LTS : 'HH:mm:ss',
  6214. L : 'DD/MM/YYYY',
  6215. LL : 'D MMMM YYYY',
  6216. LLL : 'D MMMM YYYY HH:mm',
  6217. LLLL : 'dddd, D MMMM YYYY HH:mm'
  6218. },
  6219. calendar : {
  6220. sameDay : '[Sot në] LT',
  6221. nextDay : '[Nesër në] LT',
  6222. nextWeek : 'dddd [në] LT',
  6223. lastDay : '[Dje në] LT',
  6224. lastWeek : 'dddd [e kaluar në] LT',
  6225. sameElse : 'L'
  6226. },
  6227. relativeTime : {
  6228. future : 'në %s',
  6229. past : '%s më parë',
  6230. s : 'disa sekonda',
  6231. m : 'një minutë',
  6232. mm : '%d minuta',
  6233. h : 'një orë',
  6234. hh : '%d orë',
  6235. d : 'një ditë',
  6236. dd : '%d ditë',
  6237. M : 'një muaj',
  6238. MM : '%d muaj',
  6239. y : 'një vit',
  6240. yy : '%d vite'
  6241. },
  6242. ordinalParse: /\d{1,2}\./,
  6243. ordinal : '%d.',
  6244. week : {
  6245. dow : 1, // Monday is the first day of the week.
  6246. doy : 4 // The week that contains Jan 4th is the first week of the year.
  6247. }
  6248. });
  6249. //! moment.js locale configuration
  6250. //! locale : Serbian-cyrillic (sr-cyrl)
  6251. //! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
  6252. var sr_cyrl__translator = {
  6253. words: { //Different grammatical cases
  6254. m: ['један минут', 'једне минуте'],
  6255. mm: ['минут', 'минуте', 'минута'],
  6256. h: ['један сат', 'једног сата'],
  6257. hh: ['сат', 'сата', 'сати'],
  6258. dd: ['дан', 'дана', 'дана'],
  6259. MM: ['месец', 'месеца', 'месеци'],
  6260. yy: ['година', 'године', 'година']
  6261. },
  6262. correctGrammaticalCase: function (number, wordKey) {
  6263. return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
  6264. },
  6265. translate: function (number, withoutSuffix, key) {
  6266. var wordKey = sr_cyrl__translator.words[key];
  6267. if (key.length === 1) {
  6268. return withoutSuffix ? wordKey[0] : wordKey[1];
  6269. } else {
  6270. return number + ' ' + sr_cyrl__translator.correctGrammaticalCase(number, wordKey);
  6271. }
  6272. }
  6273. };
  6274. var sr_cyrl = moment.defineLocale('sr-cyrl', {
  6275. months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split('_'),
  6276. monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'),
  6277. monthsParseExact: true,
  6278. weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),
  6279. weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),
  6280. weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),
  6281. weekdaysParseExact : true,
  6282. longDateFormat: {
  6283. LT: 'H:mm',
  6284. LTS : 'H:mm:ss',
  6285. L: 'DD. MM. YYYY',
  6286. LL: 'D. MMMM YYYY',
  6287. LLL: 'D. MMMM YYYY H:mm',
  6288. LLLL: 'dddd, D. MMMM YYYY H:mm'
  6289. },
  6290. calendar: {
  6291. sameDay: '[данас у] LT',
  6292. nextDay: '[сутра у] LT',
  6293. nextWeek: function () {
  6294. switch (this.day()) {
  6295. case 0:
  6296. return '[у] [недељу] [у] LT';
  6297. case 3:
  6298. return '[у] [среду] [у] LT';
  6299. case 6:
  6300. return '[у] [суботу] [у] LT';
  6301. case 1:
  6302. case 2:
  6303. case 4:
  6304. case 5:
  6305. return '[у] dddd [у] LT';
  6306. }
  6307. },
  6308. lastDay : '[јуче у] LT',
  6309. lastWeek : function () {
  6310. var lastWeekDays = [
  6311. '[прошле] [недеље] [у] LT',
  6312. '[прошлог] [понедељка] [у] LT',
  6313. '[прошлог] [уторка] [у] LT',
  6314. '[прошле] [среде] [у] LT',
  6315. '[прошлог] [четвртка] [у] LT',
  6316. '[прошлог] [петка] [у] LT',
  6317. '[прошле] [суботе] [у] LT'
  6318. ];
  6319. return lastWeekDays[this.day()];
  6320. },
  6321. sameElse : 'L'
  6322. },
  6323. relativeTime : {
  6324. future : 'за %s',
  6325. past : 'пре %s',
  6326. s : 'неколико секунди',
  6327. m : sr_cyrl__translator.translate,
  6328. mm : sr_cyrl__translator.translate,
  6329. h : sr_cyrl__translator.translate,
  6330. hh : sr_cyrl__translator.translate,
  6331. d : 'дан',
  6332. dd : sr_cyrl__translator.translate,
  6333. M : 'месец',
  6334. MM : sr_cyrl__translator.translate,
  6335. y : 'годину',
  6336. yy : sr_cyrl__translator.translate
  6337. },
  6338. ordinalParse: /\d{1,2}\./,
  6339. ordinal : '%d.',
  6340. week : {
  6341. dow : 1, // Monday is the first day of the week.
  6342. doy : 7 // The week that contains Jan 1st is the first week of the year.
  6343. }
  6344. });
  6345. //! moment.js locale configuration
  6346. //! locale : Serbian-latin (sr)
  6347. //! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
  6348. var sr__translator = {
  6349. words: { //Different grammatical cases
  6350. m: ['jedan minut', 'jedne minute'],
  6351. mm: ['minut', 'minute', 'minuta'],
  6352. h: ['jedan sat', 'jednog sata'],
  6353. hh: ['sat', 'sata', 'sati'],
  6354. dd: ['dan', 'dana', 'dana'],
  6355. MM: ['mesec', 'meseca', 'meseci'],
  6356. yy: ['godina', 'godine', 'godina']
  6357. },
  6358. correctGrammaticalCase: function (number, wordKey) {
  6359. return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
  6360. },
  6361. translate: function (number, withoutSuffix, key) {
  6362. var wordKey = sr__translator.words[key];
  6363. if (key.length === 1) {
  6364. return withoutSuffix ? wordKey[0] : wordKey[1];
  6365. } else {
  6366. return number + ' ' + sr__translator.correctGrammaticalCase(number, wordKey);
  6367. }
  6368. }
  6369. };
  6370. var sr = moment.defineLocale('sr', {
  6371. months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'),
  6372. monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
  6373. monthsParseExact: true,
  6374. weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split('_'),
  6375. weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),
  6376. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  6377. weekdaysParseExact : true,
  6378. longDateFormat: {
  6379. LT: 'H:mm',
  6380. LTS : 'H:mm:ss',
  6381. L: 'DD. MM. YYYY',
  6382. LL: 'D. MMMM YYYY',
  6383. LLL: 'D. MMMM YYYY H:mm',
  6384. LLLL: 'dddd, D. MMMM YYYY H:mm'
  6385. },
  6386. calendar: {
  6387. sameDay: '[danas u] LT',
  6388. nextDay: '[sutra u] LT',
  6389. nextWeek: function () {
  6390. switch (this.day()) {
  6391. case 0:
  6392. return '[u] [nedelju] [u] LT';
  6393. case 3:
  6394. return '[u] [sredu] [u] LT';
  6395. case 6:
  6396. return '[u] [subotu] [u] LT';
  6397. case 1:
  6398. case 2:
  6399. case 4:
  6400. case 5:
  6401. return '[u] dddd [u] LT';
  6402. }
  6403. },
  6404. lastDay : '[juče u] LT',
  6405. lastWeek : function () {
  6406. var lastWeekDays = [
  6407. '[prošle] [nedelje] [u] LT',
  6408. '[prošlog] [ponedeljka] [u] LT',
  6409. '[prošlog] [utorka] [u] LT',
  6410. '[prošle] [srede] [u] LT',
  6411. '[prošlog] [četvrtka] [u] LT',
  6412. '[prošlog] [petka] [u] LT',
  6413. '[prošle] [subote] [u] LT'
  6414. ];
  6415. return lastWeekDays[this.day()];
  6416. },
  6417. sameElse : 'L'
  6418. },
  6419. relativeTime : {
  6420. future : 'za %s',
  6421. past : 'pre %s',
  6422. s : 'nekoliko sekundi',
  6423. m : sr__translator.translate,
  6424. mm : sr__translator.translate,
  6425. h : sr__translator.translate,
  6426. hh : sr__translator.translate,
  6427. d : 'dan',
  6428. dd : sr__translator.translate,
  6429. M : 'mesec',
  6430. MM : sr__translator.translate,
  6431. y : 'godinu',
  6432. yy : sr__translator.translate
  6433. },
  6434. ordinalParse: /\d{1,2}\./,
  6435. ordinal : '%d.',
  6436. week : {
  6437. dow : 1, // Monday is the first day of the week.
  6438. doy : 7 // The week that contains Jan 1st is the first week of the year.
  6439. }
  6440. });
  6441. //! moment.js locale configuration
  6442. //! locale : siSwati (ss)
  6443. //! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies
  6444. var ss = moment.defineLocale('ss', {
  6445. months : "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'),
  6446. monthsShort : 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
  6447. weekdays : 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'),
  6448. weekdaysShort : 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
  6449. weekdaysMin : 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
  6450. weekdaysParseExact : true,
  6451. longDateFormat : {
  6452. LT : 'h:mm A',
  6453. LTS : 'h:mm:ss A',
  6454. L : 'DD/MM/YYYY',
  6455. LL : 'D MMMM YYYY',
  6456. LLL : 'D MMMM YYYY h:mm A',
  6457. LLLL : 'dddd, D MMMM YYYY h:mm A'
  6458. },
  6459. calendar : {
  6460. sameDay : '[Namuhla nga] LT',
  6461. nextDay : '[Kusasa nga] LT',
  6462. nextWeek : 'dddd [nga] LT',
  6463. lastDay : '[Itolo nga] LT',
  6464. lastWeek : 'dddd [leliphelile] [nga] LT',
  6465. sameElse : 'L'
  6466. },
  6467. relativeTime : {
  6468. future : 'nga %s',
  6469. past : 'wenteka nga %s',
  6470. s : 'emizuzwana lomcane',
  6471. m : 'umzuzu',
  6472. mm : '%d emizuzu',
  6473. h : 'lihora',
  6474. hh : '%d emahora',
  6475. d : 'lilanga',
  6476. dd : '%d emalanga',
  6477. M : 'inyanga',
  6478. MM : '%d tinyanga',
  6479. y : 'umnyaka',
  6480. yy : '%d iminyaka'
  6481. },
  6482. meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
  6483. meridiem : function (hours, minutes, isLower) {
  6484. if (hours < 11) {
  6485. return 'ekuseni';
  6486. } else if (hours < 15) {
  6487. return 'emini';
  6488. } else if (hours < 19) {
  6489. return 'entsambama';
  6490. } else {
  6491. return 'ebusuku';
  6492. }
  6493. },
  6494. meridiemHour : function (hour, meridiem) {
  6495. if (hour === 12) {
  6496. hour = 0;
  6497. }
  6498. if (meridiem === 'ekuseni') {
  6499. return hour;
  6500. } else if (meridiem === 'emini') {
  6501. return hour >= 11 ? hour : hour + 12;
  6502. } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
  6503. if (hour === 0) {
  6504. return 0;
  6505. }
  6506. return hour + 12;
  6507. }
  6508. },
  6509. ordinalParse: /\d{1,2}/,
  6510. ordinal : '%d',
  6511. week : {
  6512. dow : 1, // Monday is the first day of the week.
  6513. doy : 4 // The week that contains Jan 4th is the first week of the year.
  6514. }
  6515. });
  6516. //! moment.js locale configuration
  6517. //! locale : swedish (sv)
  6518. //! author : Jens Alm : https://github.com/ulmus
  6519. var sv = moment.defineLocale('sv', {
  6520. months : 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'),
  6521. monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  6522. weekdays : 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
  6523. weekdaysShort : 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
  6524. weekdaysMin : 'sö_må_ti_on_to_fr_lö'.split('_'),
  6525. longDateFormat : {
  6526. LT : 'HH:mm',
  6527. LTS : 'HH:mm:ss',
  6528. L : 'YYYY-MM-DD',
  6529. LL : 'D MMMM YYYY',
  6530. LLL : 'D MMMM YYYY [kl.] HH:mm',
  6531. LLLL : 'dddd D MMMM YYYY [kl.] HH:mm',
  6532. lll : 'D MMM YYYY HH:mm',
  6533. llll : 'ddd D MMM YYYY HH:mm'
  6534. },
  6535. calendar : {
  6536. sameDay: '[Idag] LT',
  6537. nextDay: '[Imorgon] LT',
  6538. lastDay: '[Igår] LT',
  6539. nextWeek: '[På] dddd LT',
  6540. lastWeek: '[I] dddd[s] LT',
  6541. sameElse: 'L'
  6542. },
  6543. relativeTime : {
  6544. future : 'om %s',
  6545. past : 'för %s sedan',
  6546. s : 'några sekunder',
  6547. m : 'en minut',
  6548. mm : '%d minuter',
  6549. h : 'en timme',
  6550. hh : '%d timmar',
  6551. d : 'en dag',
  6552. dd : '%d dagar',
  6553. M : 'en månad',
  6554. MM : '%d månader',
  6555. y : 'ett år',
  6556. yy : '%d år'
  6557. },
  6558. ordinalParse: /\d{1,2}(e|a)/,
  6559. ordinal : function (number) {
  6560. var b = number % 10,
  6561. output = (~~(number % 100 / 10) === 1) ? 'e' :
  6562. (b === 1) ? 'a' :
  6563. (b === 2) ? 'a' :
  6564. (b === 3) ? 'e' : 'e';
  6565. return number + output;
  6566. },
  6567. week : {
  6568. dow : 1, // Monday is the first day of the week.
  6569. doy : 4 // The week that contains Jan 4th is the first week of the year.
  6570. }
  6571. });
  6572. //! moment.js locale configuration
  6573. //! locale : swahili (sw)
  6574. //! author : Fahad Kassim : https://github.com/fadsel
  6575. var sw = moment.defineLocale('sw', {
  6576. months : 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'),
  6577. monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
  6578. weekdays : 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'),
  6579. weekdaysShort : 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
  6580. weekdaysMin : 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
  6581. weekdaysParseExact : true,
  6582. longDateFormat : {
  6583. LT : 'HH:mm',
  6584. LTS : 'HH:mm:ss',
  6585. L : 'DD.MM.YYYY',
  6586. LL : 'D MMMM YYYY',
  6587. LLL : 'D MMMM YYYY HH:mm',
  6588. LLLL : 'dddd, D MMMM YYYY HH:mm'
  6589. },
  6590. calendar : {
  6591. sameDay : '[leo saa] LT',
  6592. nextDay : '[kesho saa] LT',
  6593. nextWeek : '[wiki ijayo] dddd [saat] LT',
  6594. lastDay : '[jana] LT',
  6595. lastWeek : '[wiki iliyopita] dddd [saat] LT',
  6596. sameElse : 'L'
  6597. },
  6598. relativeTime : {
  6599. future : '%s baadaye',
  6600. past : 'tokea %s',
  6601. s : 'hivi punde',
  6602. m : 'dakika moja',
  6603. mm : 'dakika %d',
  6604. h : 'saa limoja',
  6605. hh : 'masaa %d',
  6606. d : 'siku moja',
  6607. dd : 'masiku %d',
  6608. M : 'mwezi mmoja',
  6609. MM : 'miezi %d',
  6610. y : 'mwaka mmoja',
  6611. yy : 'miaka %d'
  6612. },
  6613. week : {
  6614. dow : 1, // Monday is the first day of the week.
  6615. doy : 7 // The week that contains Jan 1st is the first week of the year.
  6616. }
  6617. });
  6618. //! moment.js locale configuration
  6619. //! locale : tamil (ta)
  6620. //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404
  6621. var ta__symbolMap = {
  6622. '1': '௧',
  6623. '2': '௨',
  6624. '3': '௩',
  6625. '4': '௪',
  6626. '5': '௫',
  6627. '6': '௬',
  6628. '7': '௭',
  6629. '8': '௮',
  6630. '9': '௯',
  6631. '0': '௦'
  6632. }, ta__numberMap = {
  6633. '௧': '1',
  6634. '௨': '2',
  6635. '௩': '3',
  6636. '௪': '4',
  6637. '௫': '5',
  6638. '௬': '6',
  6639. '௭': '7',
  6640. '௮': '8',
  6641. '௯': '9',
  6642. '௦': '0'
  6643. };
  6644. var ta = moment.defineLocale('ta', {
  6645. months : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
  6646. monthsShort : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
  6647. weekdays : 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split('_'),
  6648. weekdaysShort : 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split('_'),
  6649. weekdaysMin : 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
  6650. longDateFormat : {
  6651. LT : 'HH:mm',
  6652. LTS : 'HH:mm:ss',
  6653. L : 'DD/MM/YYYY',
  6654. LL : 'D MMMM YYYY',
  6655. LLL : 'D MMMM YYYY, HH:mm',
  6656. LLLL : 'dddd, D MMMM YYYY, HH:mm'
  6657. },
  6658. calendar : {
  6659. sameDay : '[இன்று] LT',
  6660. nextDay : '[நாளை] LT',
  6661. nextWeek : 'dddd, LT',
  6662. lastDay : '[நேற்று] LT',
  6663. lastWeek : '[கடந்த வாரம்] dddd, LT',
  6664. sameElse : 'L'
  6665. },
  6666. relativeTime : {
  6667. future : '%s இல்',
  6668. past : '%s முன்',
  6669. s : 'ஒரு சில விநாடிகள்',
  6670. m : 'ஒரு நிமிடம்',
  6671. mm : '%d நிமிடங்கள்',
  6672. h : 'ஒரு மணி நேரம்',
  6673. hh : '%d மணி நேரம்',
  6674. d : 'ஒரு நாள்',
  6675. dd : '%d நாட்கள்',
  6676. M : 'ஒரு மாதம்',
  6677. MM : '%d மாதங்கள்',
  6678. y : 'ஒரு வருடம்',
  6679. yy : '%d ஆண்டுகள்'
  6680. },
  6681. ordinalParse: /\d{1,2}வது/,
  6682. ordinal : function (number) {
  6683. return number + 'வது';
  6684. },
  6685. preparse: function (string) {
  6686. return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
  6687. return ta__numberMap[match];
  6688. });
  6689. },
  6690. postformat: function (string) {
  6691. return string.replace(/\d/g, function (match) {
  6692. return ta__symbolMap[match];
  6693. });
  6694. },
  6695. // refer http://ta.wikipedia.org/s/1er1
  6696. meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,
  6697. meridiem : function (hour, minute, isLower) {
  6698. if (hour < 2) {
  6699. return ' யாமம்';
  6700. } else if (hour < 6) {
  6701. return ' வைகறை'; // வைகறை
  6702. } else if (hour < 10) {
  6703. return ' காலை'; // காலை
  6704. } else if (hour < 14) {
  6705. return ' நண்பகல்'; // நண்பகல்
  6706. } else if (hour < 18) {
  6707. return ' எற்பாடு'; // எற்பாடு
  6708. } else if (hour < 22) {
  6709. return ' மாலை'; // மாலை
  6710. } else {
  6711. return ' யாமம்';
  6712. }
  6713. },
  6714. meridiemHour : function (hour, meridiem) {
  6715. if (hour === 12) {
  6716. hour = 0;
  6717. }
  6718. if (meridiem === 'யாமம்') {
  6719. return hour < 2 ? hour : hour + 12;
  6720. } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {
  6721. return hour;
  6722. } else if (meridiem === 'நண்பகல்') {
  6723. return hour >= 10 ? hour : hour + 12;
  6724. } else {
  6725. return hour + 12;
  6726. }
  6727. },
  6728. week : {
  6729. dow : 0, // Sunday is the first day of the week.
  6730. doy : 6 // The week that contains Jan 1st is the first week of the year.
  6731. }
  6732. });
  6733. //! moment.js locale configuration
  6734. //! locale : telugu (te)
  6735. //! author : Krishna Chaitanya Thota : https://github.com/kcthota
  6736. var te = moment.defineLocale('te', {
  6737. months : 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'),
  6738. monthsShort : 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'),
  6739. monthsParseExact : true,
  6740. weekdays : 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'),
  6741. weekdaysShort : 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
  6742. weekdaysMin : 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
  6743. longDateFormat : {
  6744. LT : 'A h:mm',
  6745. LTS : 'A h:mm:ss',
  6746. L : 'DD/MM/YYYY',
  6747. LL : 'D MMMM YYYY',
  6748. LLL : 'D MMMM YYYY, A h:mm',
  6749. LLLL : 'dddd, D MMMM YYYY, A h:mm'
  6750. },
  6751. calendar : {
  6752. sameDay : '[నేడు] LT',
  6753. nextDay : '[రేపు] LT',
  6754. nextWeek : 'dddd, LT',
  6755. lastDay : '[నిన్న] LT',
  6756. lastWeek : '[గత] dddd, LT',
  6757. sameElse : 'L'
  6758. },
  6759. relativeTime : {
  6760. future : '%s లో',
  6761. past : '%s క్రితం',
  6762. s : 'కొన్ని క్షణాలు',
  6763. m : 'ఒక నిమిషం',
  6764. mm : '%d నిమిషాలు',
  6765. h : 'ఒక గంట',
  6766. hh : '%d గంటలు',
  6767. d : 'ఒక రోజు',
  6768. dd : '%d రోజులు',
  6769. M : 'ఒక నెల',
  6770. MM : '%d నెలలు',
  6771. y : 'ఒక సంవత్సరం',
  6772. yy : '%d సంవత్సరాలు'
  6773. },
  6774. ordinalParse : /\d{1,2}వ/,
  6775. ordinal : '%dవ',
  6776. meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
  6777. meridiemHour : function (hour, meridiem) {
  6778. if (hour === 12) {
  6779. hour = 0;
  6780. }
  6781. if (meridiem === 'రాత్రి') {
  6782. return hour < 4 ? hour : hour + 12;
  6783. } else if (meridiem === 'ఉదయం') {
  6784. return hour;
  6785. } else if (meridiem === 'మధ్యాహ్నం') {
  6786. return hour >= 10 ? hour : hour + 12;
  6787. } else if (meridiem === 'సాయంత్రం') {
  6788. return hour + 12;
  6789. }
  6790. },
  6791. meridiem : function (hour, minute, isLower) {
  6792. if (hour < 4) {
  6793. return 'రాత్రి';
  6794. } else if (hour < 10) {
  6795. return 'ఉదయం';
  6796. } else if (hour < 17) {
  6797. return 'మధ్యాహ్నం';
  6798. } else if (hour < 20) {
  6799. return 'సాయంత్రం';
  6800. } else {
  6801. return 'రాత్రి';
  6802. }
  6803. },
  6804. week : {
  6805. dow : 0, // Sunday is the first day of the week.
  6806. doy : 6 // The week that contains Jan 1st is the first week of the year.
  6807. }
  6808. });
  6809. //! moment.js locale configuration
  6810. //! locale : thai (th)
  6811. //! author : Kridsada Thanabulpong : https://github.com/sirn
  6812. var th = moment.defineLocale('th', {
  6813. months : 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'),
  6814. monthsShort : 'มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา'.split('_'),
  6815. monthsParseExact: true,
  6816. weekdays : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
  6817. weekdaysShort : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
  6818. weekdaysMin : 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
  6819. weekdaysParseExact : true,
  6820. longDateFormat : {
  6821. LT : 'H นาฬิกา m นาที',
  6822. LTS : 'H นาฬิกา m นาที s วินาที',
  6823. L : 'YYYY/MM/DD',
  6824. LL : 'D MMMM YYYY',
  6825. LLL : 'D MMMM YYYY เวลา H นาฬิกา m นาที',
  6826. LLLL : 'วันddddที่ D MMMM YYYY เวลา H นาฬิกา m นาที'
  6827. },
  6828. meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
  6829. isPM: function (input) {
  6830. return input === 'หลังเที่ยง';
  6831. },
  6832. meridiem : function (hour, minute, isLower) {
  6833. if (hour < 12) {
  6834. return 'ก่อนเที่ยง';
  6835. } else {
  6836. return 'หลังเที่ยง';
  6837. }
  6838. },
  6839. calendar : {
  6840. sameDay : '[วันนี้ เวลา] LT',
  6841. nextDay : '[พรุ่งนี้ เวลา] LT',
  6842. nextWeek : 'dddd[หน้า เวลา] LT',
  6843. lastDay : '[เมื่อวานนี้ เวลา] LT',
  6844. lastWeek : '[วัน]dddd[ที่แล้ว เวลา] LT',
  6845. sameElse : 'L'
  6846. },
  6847. relativeTime : {
  6848. future : 'อีก %s',
  6849. past : '%sที่แล้ว',
  6850. s : 'ไม่กี่วินาที',
  6851. m : '1 นาที',
  6852. mm : '%d นาที',
  6853. h : '1 ชั่วโมง',
  6854. hh : '%d ชั่วโมง',
  6855. d : '1 วัน',
  6856. dd : '%d วัน',
  6857. M : '1 เดือน',
  6858. MM : '%d เดือน',
  6859. y : '1 ปี',
  6860. yy : '%d ปี'
  6861. }
  6862. });
  6863. //! moment.js locale configuration
  6864. //! locale : Tagalog/Filipino (tl-ph)
  6865. //! author : Dan Hagman
  6866. var tl_ph = moment.defineLocale('tl-ph', {
  6867. months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
  6868. monthsShort : 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  6869. weekdays : 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
  6870. weekdaysShort : 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  6871. weekdaysMin : 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  6872. longDateFormat : {
  6873. LT : 'HH:mm',
  6874. LTS : 'HH:mm:ss',
  6875. L : 'MM/D/YYYY',
  6876. LL : 'MMMM D, YYYY',
  6877. LLL : 'MMMM D, YYYY HH:mm',
  6878. LLLL : 'dddd, MMMM DD, YYYY HH:mm'
  6879. },
  6880. calendar : {
  6881. sameDay: '[Ngayon sa] LT',
  6882. nextDay: '[Bukas sa] LT',
  6883. nextWeek: 'dddd [sa] LT',
  6884. lastDay: '[Kahapon sa] LT',
  6885. lastWeek: 'dddd [huling linggo] LT',
  6886. sameElse: 'L'
  6887. },
  6888. relativeTime : {
  6889. future : 'sa loob ng %s',
  6890. past : '%s ang nakalipas',
  6891. s : 'ilang segundo',
  6892. m : 'isang minuto',
  6893. mm : '%d minuto',
  6894. h : 'isang oras',
  6895. hh : '%d oras',
  6896. d : 'isang araw',
  6897. dd : '%d araw',
  6898. M : 'isang buwan',
  6899. MM : '%d buwan',
  6900. y : 'isang taon',
  6901. yy : '%d taon'
  6902. },
  6903. ordinalParse: /\d{1,2}/,
  6904. ordinal : function (number) {
  6905. return number;
  6906. },
  6907. week : {
  6908. dow : 1, // Monday is the first day of the week.
  6909. doy : 4 // The week that contains Jan 4th is the first week of the year.
  6910. }
  6911. });
  6912. //! moment.js locale configuration
  6913. //! locale : Klingon (tlh)
  6914. //! author : Dominika Kruk : https://github.com/amaranthrose
  6915. var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
  6916. function translateFuture(output) {
  6917. var time = output;
  6918. time = (output.indexOf('jaj') !== -1) ?
  6919. time.slice(0, -3) + 'leS' :
  6920. (output.indexOf('jar') !== -1) ?
  6921. time.slice(0, -3) + 'waQ' :
  6922. (output.indexOf('DIS') !== -1) ?
  6923. time.slice(0, -3) + 'nem' :
  6924. time + ' pIq';
  6925. return time;
  6926. }
  6927. function translatePast(output) {
  6928. var time = output;
  6929. time = (output.indexOf('jaj') !== -1) ?
  6930. time.slice(0, -3) + 'Hu’' :
  6931. (output.indexOf('jar') !== -1) ?
  6932. time.slice(0, -3) + 'wen' :
  6933. (output.indexOf('DIS') !== -1) ?
  6934. time.slice(0, -3) + 'ben' :
  6935. time + ' ret';
  6936. return time;
  6937. }
  6938. function tlh__translate(number, withoutSuffix, string, isFuture) {
  6939. var numberNoun = numberAsNoun(number);
  6940. switch (string) {
  6941. case 'mm':
  6942. return numberNoun + ' tup';
  6943. case 'hh':
  6944. return numberNoun + ' rep';
  6945. case 'dd':
  6946. return numberNoun + ' jaj';
  6947. case 'MM':
  6948. return numberNoun + ' jar';
  6949. case 'yy':
  6950. return numberNoun + ' DIS';
  6951. }
  6952. }
  6953. function numberAsNoun(number) {
  6954. var hundred = Math.floor((number % 1000) / 100),
  6955. ten = Math.floor((number % 100) / 10),
  6956. one = number % 10,
  6957. word = '';
  6958. if (hundred > 0) {
  6959. word += numbersNouns[hundred] + 'vatlh';
  6960. }
  6961. if (ten > 0) {
  6962. word += ((word !== '') ? ' ' : '') + numbersNouns[ten] + 'maH';
  6963. }
  6964. if (one > 0) {
  6965. word += ((word !== '') ? ' ' : '') + numbersNouns[one];
  6966. }
  6967. return (word === '') ? 'pagh' : word;
  6968. }
  6969. var tlh = moment.defineLocale('tlh', {
  6970. months : 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split('_'),
  6971. monthsShort : 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split('_'),
  6972. monthsParseExact : true,
  6973. weekdays : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
  6974. weekdaysShort : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
  6975. weekdaysMin : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
  6976. longDateFormat : {
  6977. LT : 'HH:mm',
  6978. LTS : 'HH:mm:ss',
  6979. L : 'DD.MM.YYYY',
  6980. LL : 'D MMMM YYYY',
  6981. LLL : 'D MMMM YYYY HH:mm',
  6982. LLLL : 'dddd, D MMMM YYYY HH:mm'
  6983. },
  6984. calendar : {
  6985. sameDay: '[DaHjaj] LT',
  6986. nextDay: '[wa’leS] LT',
  6987. nextWeek: 'LLL',
  6988. lastDay: '[wa’Hu’] LT',
  6989. lastWeek: 'LLL',
  6990. sameElse: 'L'
  6991. },
  6992. relativeTime : {
  6993. future : translateFuture,
  6994. past : translatePast,
  6995. s : 'puS lup',
  6996. m : 'wa’ tup',
  6997. mm : tlh__translate,
  6998. h : 'wa’ rep',
  6999. hh : tlh__translate,
  7000. d : 'wa’ jaj',
  7001. dd : tlh__translate,
  7002. M : 'wa’ jar',
  7003. MM : tlh__translate,
  7004. y : 'wa’ DIS',
  7005. yy : tlh__translate
  7006. },
  7007. ordinalParse: /\d{1,2}\./,
  7008. ordinal : '%d.',
  7009. week : {
  7010. dow : 1, // Monday is the first day of the week.
  7011. doy : 4 // The week that contains Jan 4th is the first week of the year.
  7012. }
  7013. });
  7014. //! moment.js locale configuration
  7015. //! locale : turkish (tr)
  7016. //! authors : Erhan Gundogan : https://github.com/erhangundogan,
  7017. //! Burak Yiğit Kaya: https://github.com/BYK
  7018. var tr__suffixes = {
  7019. 1: '\'inci',
  7020. 5: '\'inci',
  7021. 8: '\'inci',
  7022. 70: '\'inci',
  7023. 80: '\'inci',
  7024. 2: '\'nci',
  7025. 7: '\'nci',
  7026. 20: '\'nci',
  7027. 50: '\'nci',
  7028. 3: '\'üncü',
  7029. 4: '\'üncü',
  7030. 100: '\'üncü',
  7031. 6: '\'ncı',
  7032. 9: '\'uncu',
  7033. 10: '\'uncu',
  7034. 30: '\'uncu',
  7035. 60: '\'ıncı',
  7036. 90: '\'ıncı'
  7037. };
  7038. var tr = moment.defineLocale('tr', {
  7039. months : 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'),
  7040. monthsShort : 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
  7041. weekdays : 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'),
  7042. weekdaysShort : 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),
  7043. weekdaysMin : 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
  7044. longDateFormat : {
  7045. LT : 'HH:mm',
  7046. LTS : 'HH:mm:ss',
  7047. L : 'DD.MM.YYYY',
  7048. LL : 'D MMMM YYYY',
  7049. LLL : 'D MMMM YYYY HH:mm',
  7050. LLLL : 'dddd, D MMMM YYYY HH:mm'
  7051. },
  7052. calendar : {
  7053. sameDay : '[bugün saat] LT',
  7054. nextDay : '[yarın saat] LT',
  7055. nextWeek : '[haftaya] dddd [saat] LT',
  7056. lastDay : '[dün] LT',
  7057. lastWeek : '[geçen hafta] dddd [saat] LT',
  7058. sameElse : 'L'
  7059. },
  7060. relativeTime : {
  7061. future : '%s sonra',
  7062. past : '%s önce',
  7063. s : 'birkaç saniye',
  7064. m : 'bir dakika',
  7065. mm : '%d dakika',
  7066. h : 'bir saat',
  7067. hh : '%d saat',
  7068. d : 'bir gün',
  7069. dd : '%d gün',
  7070. M : 'bir ay',
  7071. MM : '%d ay',
  7072. y : 'bir yıl',
  7073. yy : '%d yıl'
  7074. },
  7075. ordinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,
  7076. ordinal : function (number) {
  7077. if (number === 0) { // special case for zero
  7078. return number + '\'ıncı';
  7079. }
  7080. var a = number % 10,
  7081. b = number % 100 - a,
  7082. c = number >= 100 ? 100 : null;
  7083. return number + (tr__suffixes[a] || tr__suffixes[b] || tr__suffixes[c]);
  7084. },
  7085. week : {
  7086. dow : 1, // Monday is the first day of the week.
  7087. doy : 7 // The week that contains Jan 1st is the first week of the year.
  7088. }
  7089. });
  7090. //! moment.js locale configuration
  7091. //! locale : talossan (tzl)
  7092. //! author : Robin van der Vliet : https://github.com/robin0van0der0v with the help of Iustì Canun
  7093. // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
  7094. // This is currently too difficult (maybe even impossible) to add.
  7095. var tzl = moment.defineLocale('tzl', {
  7096. months : 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'),
  7097. monthsShort : 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
  7098. weekdays : 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
  7099. weekdaysShort : 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
  7100. weekdaysMin : 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
  7101. longDateFormat : {
  7102. LT : 'HH.mm',
  7103. LTS : 'HH.mm.ss',
  7104. L : 'DD.MM.YYYY',
  7105. LL : 'D. MMMM [dallas] YYYY',
  7106. LLL : 'D. MMMM [dallas] YYYY HH.mm',
  7107. LLLL : 'dddd, [li] D. MMMM [dallas] YYYY HH.mm'
  7108. },
  7109. meridiemParse: /d\'o|d\'a/i,
  7110. isPM : function (input) {
  7111. return 'd\'o' === input.toLowerCase();
  7112. },
  7113. meridiem : function (hours, minutes, isLower) {
  7114. if (hours > 11) {
  7115. return isLower ? 'd\'o' : 'D\'O';
  7116. } else {
  7117. return isLower ? 'd\'a' : 'D\'A';
  7118. }
  7119. },
  7120. calendar : {
  7121. sameDay : '[oxhi à] LT',
  7122. nextDay : '[demà à] LT',
  7123. nextWeek : 'dddd [à] LT',
  7124. lastDay : '[ieiri à] LT',
  7125. lastWeek : '[sür el] dddd [lasteu à] LT',
  7126. sameElse : 'L'
  7127. },
  7128. relativeTime : {
  7129. future : 'osprei %s',
  7130. past : 'ja%s',
  7131. s : tzl__processRelativeTime,
  7132. m : tzl__processRelativeTime,
  7133. mm : tzl__processRelativeTime,
  7134. h : tzl__processRelativeTime,
  7135. hh : tzl__processRelativeTime,
  7136. d : tzl__processRelativeTime,
  7137. dd : tzl__processRelativeTime,
  7138. M : tzl__processRelativeTime,
  7139. MM : tzl__processRelativeTime,
  7140. y : tzl__processRelativeTime,
  7141. yy : tzl__processRelativeTime
  7142. },
  7143. ordinalParse: /\d{1,2}\./,
  7144. ordinal : '%d.',
  7145. week : {
  7146. dow : 1, // Monday is the first day of the week.
  7147. doy : 4 // The week that contains Jan 4th is the first week of the year.
  7148. }
  7149. });
  7150. function tzl__processRelativeTime(number, withoutSuffix, key, isFuture) {
  7151. var format = {
  7152. 's': ['viensas secunds', '\'iensas secunds'],
  7153. 'm': ['\'n míut', '\'iens míut'],
  7154. 'mm': [number + ' míuts', '' + number + ' míuts'],
  7155. 'h': ['\'n þora', '\'iensa þora'],
  7156. 'hh': [number + ' þoras', '' + number + ' þoras'],
  7157. 'd': ['\'n ziua', '\'iensa ziua'],
  7158. 'dd': [number + ' ziuas', '' + number + ' ziuas'],
  7159. 'M': ['\'n mes', '\'iens mes'],
  7160. 'MM': [number + ' mesen', '' + number + ' mesen'],
  7161. 'y': ['\'n ar', '\'iens ar'],
  7162. 'yy': [number + ' ars', '' + number + ' ars']
  7163. };
  7164. return isFuture ? format[key][0] : (withoutSuffix ? format[key][0] : format[key][1]);
  7165. }
  7166. //! moment.js locale configuration
  7167. //! locale : Morocco Central Atlas Tamaziɣt in Latin (tzm-latn)
  7168. //! author : Abdel Said : https://github.com/abdelsaid
  7169. var tzm_latn = moment.defineLocale('tzm-latn', {
  7170. months : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
  7171. monthsShort : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
  7172. weekdays : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  7173. weekdaysShort : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  7174. weekdaysMin : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  7175. longDateFormat : {
  7176. LT : 'HH:mm',
  7177. LTS : 'HH:mm:ss',
  7178. L : 'DD/MM/YYYY',
  7179. LL : 'D MMMM YYYY',
  7180. LLL : 'D MMMM YYYY HH:mm',
  7181. LLLL : 'dddd D MMMM YYYY HH:mm'
  7182. },
  7183. calendar : {
  7184. sameDay: '[asdkh g] LT',
  7185. nextDay: '[aska g] LT',
  7186. nextWeek: 'dddd [g] LT',
  7187. lastDay: '[assant g] LT',
  7188. lastWeek: 'dddd [g] LT',
  7189. sameElse: 'L'
  7190. },
  7191. relativeTime : {
  7192. future : 'dadkh s yan %s',
  7193. past : 'yan %s',
  7194. s : 'imik',
  7195. m : 'minuḍ',
  7196. mm : '%d minuḍ',
  7197. h : 'saɛa',
  7198. hh : '%d tassaɛin',
  7199. d : 'ass',
  7200. dd : '%d ossan',
  7201. M : 'ayowr',
  7202. MM : '%d iyyirn',
  7203. y : 'asgas',
  7204. yy : '%d isgasn'
  7205. },
  7206. week : {
  7207. dow : 6, // Saturday is the first day of the week.
  7208. doy : 12 // The week that contains Jan 1st is the first week of the year.
  7209. }
  7210. });
  7211. //! moment.js locale configuration
  7212. //! locale : Morocco Central Atlas Tamaziɣt (tzm)
  7213. //! author : Abdel Said : https://github.com/abdelsaid
  7214. var tzm = moment.defineLocale('tzm', {
  7215. months : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
  7216. monthsShort : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
  7217. weekdays : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  7218. weekdaysShort : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  7219. weekdaysMin : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  7220. longDateFormat : {
  7221. LT : 'HH:mm',
  7222. LTS: 'HH:mm:ss',
  7223. L : 'DD/MM/YYYY',
  7224. LL : 'D MMMM YYYY',
  7225. LLL : 'D MMMM YYYY HH:mm',
  7226. LLLL : 'dddd D MMMM YYYY HH:mm'
  7227. },
  7228. calendar : {
  7229. sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
  7230. nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
  7231. nextWeek: 'dddd [ⴴ] LT',
  7232. lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
  7233. lastWeek: 'dddd [ⴴ] LT',
  7234. sameElse: 'L'
  7235. },
  7236. relativeTime : {
  7237. future : 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
  7238. past : 'ⵢⴰⵏ %s',
  7239. s : 'ⵉⵎⵉⴽ',
  7240. m : 'ⵎⵉⵏⵓⴺ',
  7241. mm : '%d ⵎⵉⵏⵓⴺ',
  7242. h : 'ⵙⴰⵄⴰ',
  7243. hh : '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
  7244. d : 'ⴰⵙⵙ',
  7245. dd : '%d oⵙⵙⴰⵏ',
  7246. M : 'ⴰⵢoⵓⵔ',
  7247. MM : '%d ⵉⵢⵢⵉⵔⵏ',
  7248. y : 'ⴰⵙⴳⴰⵙ',
  7249. yy : '%d ⵉⵙⴳⴰⵙⵏ'
  7250. },
  7251. week : {
  7252. dow : 6, // Saturday is the first day of the week.
  7253. doy : 12 // The week that contains Jan 1st is the first week of the year.
  7254. }
  7255. });
  7256. //! moment.js locale configuration
  7257. //! locale : ukrainian (uk)
  7258. //! author : zemlanin : https://github.com/zemlanin
  7259. //! Author : Menelion Elensúle : https://github.com/Oire
  7260. function uk__plural(word, num) {
  7261. var forms = word.split('_');
  7262. return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]);
  7263. }
  7264. function uk__relativeTimeWithPlural(number, withoutSuffix, key) {
  7265. var format = {
  7266. 'mm': withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',
  7267. 'hh': withoutSuffix ? 'година_години_годин' : 'годину_години_годин',
  7268. 'dd': 'день_дні_днів',
  7269. 'MM': 'місяць_місяці_місяців',
  7270. 'yy': 'рік_роки_років'
  7271. };
  7272. if (key === 'm') {
  7273. return withoutSuffix ? 'хвилина' : 'хвилину';
  7274. }
  7275. else if (key === 'h') {
  7276. return withoutSuffix ? 'година' : 'годину';
  7277. }
  7278. else {
  7279. return number + ' ' + uk__plural(format[key], +number);
  7280. }
  7281. }
  7282. function weekdaysCaseReplace(m, format) {
  7283. var weekdays = {
  7284. 'nominative': 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'),
  7285. 'accusative': 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_'),
  7286. 'genitive': 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_')
  7287. },
  7288. nounCase = (/(\[[ВвУу]\]) ?dddd/).test(format) ?
  7289. 'accusative' :
  7290. ((/\[?(?:минулої|наступної)? ?\] ?dddd/).test(format) ?
  7291. 'genitive' :
  7292. 'nominative');
  7293. return weekdays[nounCase][m.day()];
  7294. }
  7295. function processHoursFunction(str) {
  7296. return function () {
  7297. return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';
  7298. };
  7299. }
  7300. var uk = moment.defineLocale('uk', {
  7301. months : {
  7302. 'format': 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_'),
  7303. 'standalone': 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_')
  7304. },
  7305. monthsShort : 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'),
  7306. weekdays : weekdaysCaseReplace,
  7307. weekdaysShort : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  7308. weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  7309. longDateFormat : {
  7310. LT : 'HH:mm',
  7311. LTS : 'HH:mm:ss',
  7312. L : 'DD.MM.YYYY',
  7313. LL : 'D MMMM YYYY р.',
  7314. LLL : 'D MMMM YYYY р., HH:mm',
  7315. LLLL : 'dddd, D MMMM YYYY р., HH:mm'
  7316. },
  7317. calendar : {
  7318. sameDay: processHoursFunction('[Сьогодні '),
  7319. nextDay: processHoursFunction('[Завтра '),
  7320. lastDay: processHoursFunction('[Вчора '),
  7321. nextWeek: processHoursFunction('[У] dddd ['),
  7322. lastWeek: function () {
  7323. switch (this.day()) {
  7324. case 0:
  7325. case 3:
  7326. case 5:
  7327. case 6:
  7328. return processHoursFunction('[Минулої] dddd [').call(this);
  7329. case 1:
  7330. case 2:
  7331. case 4:
  7332. return processHoursFunction('[Минулого] dddd [').call(this);
  7333. }
  7334. },
  7335. sameElse: 'L'
  7336. },
  7337. relativeTime : {
  7338. future : 'за %s',
  7339. past : '%s тому',
  7340. s : 'декілька секунд',
  7341. m : uk__relativeTimeWithPlural,
  7342. mm : uk__relativeTimeWithPlural,
  7343. h : 'годину',
  7344. hh : uk__relativeTimeWithPlural,
  7345. d : 'день',
  7346. dd : uk__relativeTimeWithPlural,
  7347. M : 'місяць',
  7348. MM : uk__relativeTimeWithPlural,
  7349. y : 'рік',
  7350. yy : uk__relativeTimeWithPlural
  7351. },
  7352. // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
  7353. meridiemParse: /ночі|ранку|дня|вечора/,
  7354. isPM: function (input) {
  7355. return /^(дня|вечора)$/.test(input);
  7356. },
  7357. meridiem : function (hour, minute, isLower) {
  7358. if (hour < 4) {
  7359. return 'ночі';
  7360. } else if (hour < 12) {
  7361. return 'ранку';
  7362. } else if (hour < 17) {
  7363. return 'дня';
  7364. } else {
  7365. return 'вечора';
  7366. }
  7367. },
  7368. ordinalParse: /\d{1,2}-(й|го)/,
  7369. ordinal: function (number, period) {
  7370. switch (period) {
  7371. case 'M':
  7372. case 'd':
  7373. case 'DDD':
  7374. case 'w':
  7375. case 'W':
  7376. return number + '-й';
  7377. case 'D':
  7378. return number + '-го';
  7379. default:
  7380. return number;
  7381. }
  7382. },
  7383. week : {
  7384. dow : 1, // Monday is the first day of the week.
  7385. doy : 7 // The week that contains Jan 1st is the first week of the year.
  7386. }
  7387. });
  7388. //! moment.js locale configuration
  7389. //! locale : uzbek (uz)
  7390. //! author : Sardor Muminov : https://github.com/muminoff
  7391. var uz = moment.defineLocale('uz', {
  7392. months : 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'),
  7393. monthsShort : 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
  7394. weekdays : 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
  7395. weekdaysShort : 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
  7396. weekdaysMin : 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
  7397. longDateFormat : {
  7398. LT : 'HH:mm',
  7399. LTS : 'HH:mm:ss',
  7400. L : 'DD/MM/YYYY',
  7401. LL : 'D MMMM YYYY',
  7402. LLL : 'D MMMM YYYY HH:mm',
  7403. LLLL : 'D MMMM YYYY, dddd HH:mm'
  7404. },
  7405. calendar : {
  7406. sameDay : '[Бугун соат] LT [да]',
  7407. nextDay : '[Эртага] LT [да]',
  7408. nextWeek : 'dddd [куни соат] LT [да]',
  7409. lastDay : '[Кеча соат] LT [да]',
  7410. lastWeek : '[Утган] dddd [куни соат] LT [да]',
  7411. sameElse : 'L'
  7412. },
  7413. relativeTime : {
  7414. future : 'Якин %s ичида',
  7415. past : 'Бир неча %s олдин',
  7416. s : 'фурсат',
  7417. m : 'бир дакика',
  7418. mm : '%d дакика',
  7419. h : 'бир соат',
  7420. hh : '%d соат',
  7421. d : 'бир кун',
  7422. dd : '%d кун',
  7423. M : 'бир ой',
  7424. MM : '%d ой',
  7425. y : 'бир йил',
  7426. yy : '%d йил'
  7427. },
  7428. week : {
  7429. dow : 1, // Monday is the first day of the week.
  7430. doy : 7 // The week that contains Jan 4th is the first week of the year.
  7431. }
  7432. });
  7433. //! moment.js locale configuration
  7434. //! locale : vietnamese (vi)
  7435. //! author : Bang Nguyen : https://github.com/bangnk
  7436. var vi = moment.defineLocale('vi', {
  7437. months : 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'),
  7438. monthsShort : 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'),
  7439. monthsParseExact : true,
  7440. weekdays : 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'),
  7441. weekdaysShort : 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
  7442. weekdaysMin : 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
  7443. weekdaysParseExact : true,
  7444. meridiemParse: /sa|ch/i,
  7445. isPM : function (input) {
  7446. return /^ch$/i.test(input);
  7447. },
  7448. meridiem : function (hours, minutes, isLower) {
  7449. if (hours < 12) {
  7450. return isLower ? 'sa' : 'SA';
  7451. } else {
  7452. return isLower ? 'ch' : 'CH';
  7453. }
  7454. },
  7455. longDateFormat : {
  7456. LT : 'HH:mm',
  7457. LTS : 'HH:mm:ss',
  7458. L : 'DD/MM/YYYY',
  7459. LL : 'D MMMM [năm] YYYY',
  7460. LLL : 'D MMMM [năm] YYYY HH:mm',
  7461. LLLL : 'dddd, D MMMM [năm] YYYY HH:mm',
  7462. l : 'DD/M/YYYY',
  7463. ll : 'D MMM YYYY',
  7464. lll : 'D MMM YYYY HH:mm',
  7465. llll : 'ddd, D MMM YYYY HH:mm'
  7466. },
  7467. calendar : {
  7468. sameDay: '[Hôm nay lúc] LT',
  7469. nextDay: '[Ngày mai lúc] LT',
  7470. nextWeek: 'dddd [tuần tới lúc] LT',
  7471. lastDay: '[Hôm qua lúc] LT',
  7472. lastWeek: 'dddd [tuần rồi lúc] LT',
  7473. sameElse: 'L'
  7474. },
  7475. relativeTime : {
  7476. future : '%s tới',
  7477. past : '%s trước',
  7478. s : 'vài giây',
  7479. m : 'một phút',
  7480. mm : '%d phút',
  7481. h : 'một giờ',
  7482. hh : '%d giờ',
  7483. d : 'một ngày',
  7484. dd : '%d ngày',
  7485. M : 'một tháng',
  7486. MM : '%d tháng',
  7487. y : 'một năm',
  7488. yy : '%d năm'
  7489. },
  7490. ordinalParse: /\d{1,2}/,
  7491. ordinal : function (number) {
  7492. return number;
  7493. },
  7494. week : {
  7495. dow : 1, // Monday is the first day of the week.
  7496. doy : 4 // The week that contains Jan 4th is the first week of the year.
  7497. }
  7498. });
  7499. //! moment.js locale configuration
  7500. //! locale : pseudo (x-pseudo)
  7501. //! author : Andrew Hood : https://github.com/andrewhood125
  7502. var x_pseudo = moment.defineLocale('x-pseudo', {
  7503. months : 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split('_'),
  7504. monthsShort : 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'),
  7505. monthsParseExact : true,
  7506. weekdays : 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split('_'),
  7507. weekdaysShort : 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
  7508. weekdaysMin : 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
  7509. weekdaysParseExact : true,
  7510. longDateFormat : {
  7511. LT : 'HH:mm',
  7512. L : 'DD/MM/YYYY',
  7513. LL : 'D MMMM YYYY',
  7514. LLL : 'D MMMM YYYY HH:mm',
  7515. LLLL : 'dddd, D MMMM YYYY HH:mm'
  7516. },
  7517. calendar : {
  7518. sameDay : '[T~ódá~ý át] LT',
  7519. nextDay : '[T~ómó~rró~w át] LT',
  7520. nextWeek : 'dddd [át] LT',
  7521. lastDay : '[Ý~ést~érdá~ý át] LT',
  7522. lastWeek : '[L~ást] dddd [át] LT',
  7523. sameElse : 'L'
  7524. },
  7525. relativeTime : {
  7526. future : 'í~ñ %s',
  7527. past : '%s á~gó',
  7528. s : 'á ~féw ~sécó~ñds',
  7529. m : 'á ~míñ~úté',
  7530. mm : '%d m~íñú~tés',
  7531. h : 'á~ñ hó~úr',
  7532. hh : '%d h~óúrs',
  7533. d : 'á ~dáý',
  7534. dd : '%d d~áýs',
  7535. M : 'á ~móñ~th',
  7536. MM : '%d m~óñt~hs',
  7537. y : 'á ~ýéár',
  7538. yy : '%d ý~éárs'
  7539. },
  7540. ordinalParse: /\d{1,2}(th|st|nd|rd)/,
  7541. ordinal : function (number) {
  7542. var b = number % 10,
  7543. output = (~~(number % 100 / 10) === 1) ? 'th' :
  7544. (b === 1) ? 'st' :
  7545. (b === 2) ? 'nd' :
  7546. (b === 3) ? 'rd' : 'th';
  7547. return number + output;
  7548. },
  7549. week : {
  7550. dow : 1, // Monday is the first day of the week.
  7551. doy : 4 // The week that contains Jan 4th is the first week of the year.
  7552. }
  7553. });
  7554. //! moment.js locale configuration
  7555. //! locale : chinese (zh-cn)
  7556. //! author : suupic : https://github.com/suupic
  7557. //! author : Zeno Zeng : https://github.com/zenozeng
  7558. var zh_cn = moment.defineLocale('zh-cn', {
  7559. months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
  7560. monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  7561. weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  7562. weekdaysShort : '周日_周一_周二_周三_周四_周五_周六'.split('_'),
  7563. weekdaysMin : '日_一_二_三_四_五_六'.split('_'),
  7564. longDateFormat : {
  7565. LT : 'Ah点mm分',
  7566. LTS : 'Ah点m分s秒',
  7567. L : 'YYYY-MM-DD',
  7568. LL : 'YYYY年MMMD日',
  7569. LLL : 'YYYY年MMMD日Ah点mm分',
  7570. LLLL : 'YYYY年MMMD日ddddAh点mm分',
  7571. l : 'YYYY-MM-DD',
  7572. ll : 'YYYY年MMMD日',
  7573. lll : 'YYYY年MMMD日Ah点mm分',
  7574. llll : 'YYYY年MMMD日ddddAh点mm分'
  7575. },
  7576. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  7577. meridiemHour: function (hour, meridiem) {
  7578. if (hour === 12) {
  7579. hour = 0;
  7580. }
  7581. if (meridiem === '凌晨' || meridiem === '早上' ||
  7582. meridiem === '上午') {
  7583. return hour;
  7584. } else if (meridiem === '下午' || meridiem === '晚上') {
  7585. return hour + 12;
  7586. } else {
  7587. // '中午'
  7588. return hour >= 11 ? hour : hour + 12;
  7589. }
  7590. },
  7591. meridiem : function (hour, minute, isLower) {
  7592. var hm = hour * 100 + minute;
  7593. if (hm < 600) {
  7594. return '凌晨';
  7595. } else if (hm < 900) {
  7596. return '早上';
  7597. } else if (hm < 1130) {
  7598. return '上午';
  7599. } else if (hm < 1230) {
  7600. return '中午';
  7601. } else if (hm < 1800) {
  7602. return '下午';
  7603. } else {
  7604. return '晚上';
  7605. }
  7606. },
  7607. calendar : {
  7608. sameDay : function () {
  7609. return this.minutes() === 0 ? '[今天]Ah[点整]' : '[今天]LT';
  7610. },
  7611. nextDay : function () {
  7612. return this.minutes() === 0 ? '[明天]Ah[点整]' : '[明天]LT';
  7613. },
  7614. lastDay : function () {
  7615. return this.minutes() === 0 ? '[昨天]Ah[点整]' : '[昨天]LT';
  7616. },
  7617. nextWeek : function () {
  7618. var startOfWeek, prefix;
  7619. startOfWeek = moment().startOf('week');
  7620. prefix = this.diff(startOfWeek, 'days') >= 7 ? '[下]' : '[本]';
  7621. return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm';
  7622. },
  7623. lastWeek : function () {
  7624. var startOfWeek, prefix;
  7625. startOfWeek = moment().startOf('week');
  7626. prefix = this.unix() < startOfWeek.unix() ? '[上]' : '[本]';
  7627. return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm';
  7628. },
  7629. sameElse : 'LL'
  7630. },
  7631. ordinalParse: /\d{1,2}(日|月|周)/,
  7632. ordinal : function (number, period) {
  7633. switch (period) {
  7634. case 'd':
  7635. case 'D':
  7636. case 'DDD':
  7637. return number + '日';
  7638. case 'M':
  7639. return number + '月';
  7640. case 'w':
  7641. case 'W':
  7642. return number + '周';
  7643. default:
  7644. return number;
  7645. }
  7646. },
  7647. relativeTime : {
  7648. future : '%s内',
  7649. past : '%s前',
  7650. s : '几秒',
  7651. m : '1 分钟',
  7652. mm : '%d 分钟',
  7653. h : '1 小时',
  7654. hh : '%d 小时',
  7655. d : '1 天',
  7656. dd : '%d 天',
  7657. M : '1 个月',
  7658. MM : '%d 个月',
  7659. y : '1 年',
  7660. yy : '%d 年'
  7661. },
  7662. week : {
  7663. // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
  7664. dow : 1, // Monday is the first day of the week.
  7665. doy : 4 // The week that contains Jan 4th is the first week of the year.
  7666. }
  7667. });
  7668. //! moment.js locale configuration
  7669. //! locale : traditional chinese (zh-tw)
  7670. //! author : Ben : https://github.com/ben-lin
  7671. var zh_tw = moment.defineLocale('zh-tw', {
  7672. months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
  7673. monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  7674. weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  7675. weekdaysShort : '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  7676. weekdaysMin : '日_一_二_三_四_五_六'.split('_'),
  7677. longDateFormat : {
  7678. LT : 'Ah點mm分',
  7679. LTS : 'Ah點m分s秒',
  7680. L : 'YYYY年MMMD日',
  7681. LL : 'YYYY年MMMD日',
  7682. LLL : 'YYYY年MMMD日Ah點mm分',
  7683. LLLL : 'YYYY年MMMD日ddddAh點mm分',
  7684. l : 'YYYY年MMMD日',
  7685. ll : 'YYYY年MMMD日',
  7686. lll : 'YYYY年MMMD日Ah點mm分',
  7687. llll : 'YYYY年MMMD日ddddAh點mm分'
  7688. },
  7689. meridiemParse: /早上|上午|中午|下午|晚上/,
  7690. meridiemHour : function (hour, meridiem) {
  7691. if (hour === 12) {
  7692. hour = 0;
  7693. }
  7694. if (meridiem === '早上' || meridiem === '上午') {
  7695. return hour;
  7696. } else if (meridiem === '中午') {
  7697. return hour >= 11 ? hour : hour + 12;
  7698. } else if (meridiem === '下午' || meridiem === '晚上') {
  7699. return hour + 12;
  7700. }
  7701. },
  7702. meridiem : function (hour, minute, isLower) {
  7703. var hm = hour * 100 + minute;
  7704. if (hm < 900) {
  7705. return '早上';
  7706. } else if (hm < 1130) {
  7707. return '上午';
  7708. } else if (hm < 1230) {
  7709. return '中午';
  7710. } else if (hm < 1800) {
  7711. return '下午';
  7712. } else {
  7713. return '晚上';
  7714. }
  7715. },
  7716. calendar : {
  7717. sameDay : '[今天]LT',
  7718. nextDay : '[明天]LT',
  7719. nextWeek : '[下]ddddLT',
  7720. lastDay : '[昨天]LT',
  7721. lastWeek : '[上]ddddLT',
  7722. sameElse : 'L'
  7723. },
  7724. ordinalParse: /\d{1,2}(日|月|週)/,
  7725. ordinal : function (number, period) {
  7726. switch (period) {
  7727. case 'd' :
  7728. case 'D' :
  7729. case 'DDD' :
  7730. return number + '日';
  7731. case 'M' :
  7732. return number + '月';
  7733. case 'w' :
  7734. case 'W' :
  7735. return number + '週';
  7736. default :
  7737. return number;
  7738. }
  7739. },
  7740. relativeTime : {
  7741. future : '%s內',
  7742. past : '%s前',
  7743. s : '幾秒',
  7744. m : '1分鐘',
  7745. mm : '%d分鐘',
  7746. h : '1小時',
  7747. hh : '%d小時',
  7748. d : '1天',
  7749. dd : '%d天',
  7750. M : '1個月',
  7751. MM : '%d個月',
  7752. y : '1年',
  7753. yy : '%d年'
  7754. }
  7755. });
  7756. moment.locale('en');
  7757. }));