refactor(Cypress): Moved Cypress to the main folder of the project, as I don't need a sub project for now.
This commit is contained in:
53
node_modules/dayjs/esm/locale/hr.js
generated
vendored
Normal file
53
node_modules/dayjs/esm/locale/hr.js
generated
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
// Croatian [hr]
|
||||
import dayjs from '../index';
|
||||
var monthFormat = 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_');
|
||||
var monthStandalone = 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_');
|
||||
var MONTHS_IN_FORMAT = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
|
||||
|
||||
var months = function months(dayjsInstance, format) {
|
||||
if (MONTHS_IN_FORMAT.test(format)) {
|
||||
return monthFormat[dayjsInstance.month()];
|
||||
}
|
||||
|
||||
return monthStandalone[dayjsInstance.month()];
|
||||
};
|
||||
|
||||
months.s = monthStandalone;
|
||||
months.f = monthFormat;
|
||||
var locale = {
|
||||
name: 'hr',
|
||||
weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
|
||||
weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
|
||||
weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
|
||||
months: months,
|
||||
monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'),
|
||||
weekStart: 1,
|
||||
formats: {
|
||||
LT: 'H:mm',
|
||||
LTS: 'H:mm:ss',
|
||||
L: 'DD.MM.YYYY',
|
||||
LL: 'D. MMMM YYYY',
|
||||
LLL: 'D. MMMM YYYY H:mm',
|
||||
LLLL: 'dddd, D. MMMM YYYY H:mm'
|
||||
},
|
||||
relativeTime: {
|
||||
future: 'za %s',
|
||||
past: 'prije %s',
|
||||
s: 'sekunda',
|
||||
m: 'minuta',
|
||||
mm: '%d minuta',
|
||||
h: 'sat',
|
||||
hh: '%d sati',
|
||||
d: 'dan',
|
||||
dd: '%d dana',
|
||||
M: 'mjesec',
|
||||
MM: '%d mjeseci',
|
||||
y: 'godina',
|
||||
yy: '%d godine'
|
||||
},
|
||||
ordinal: function ordinal(n) {
|
||||
return n + ".";
|
||||
}
|
||||
};
|
||||
dayjs.locale(locale, null, true);
|
||||
export default locale;
|
Reference in New Issue
Block a user