]>
git.proxmox.com Git - extjs.git/blob - extjs/classic/locale/overrides/sv_SE/Date.js
2 * Swedish translation (utf8-encoding)
3 * By Erik Andersson, Monator Technologies
5 * Changed by Cariad, 29 July 2007
7 Ext
.onReady(function() {
9 Ext
.Date
.monthNames
= ["januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december"];
11 Ext
.Date
.dayNames
= ["söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag"];
13 Ext
.Date
.formatCodes
.a
= "(m.getHours() < 12 ? 'em' : 'fm')";
14 Ext
.Date
.formatCodes
.A
= "(m.getHours() < 12 ? 'EM' : 'FM')";
15 Ext
.Date
.parseCodes
.a
= {
17 c
: "if (/(em)/i.test(results[{0}])) {\n" + "if (!h || h == 12) { h = 0; }\n" + "} else { if (!h || h < 12) { h = (h || 0) + 12; }}",
21 Ext
.Date
.parseCodes
.A
= {
23 c
: "if (/(em)/i.test(results[{0}])) {\n" + "if (!h || h == 12) { h = 0; }\n" + "} else { if (!h || h < 12) { h = (h || 0) + 12; }}",