dayjs-sw

Kiswahili locale for dayjs

Usage no npm install needed!

<script type="module">
  import dayjsSw from 'https://cdn.skypack.dev/dayjs-sw';
</script>

README

dayjs-sw

Travis (.com) codecov coverage npm semantic-release

Installation

$ npm install dayjs-sw

Usage

const dayjs = require("dayjs");
const  swLocale = require("dayjs-sw");

dayjs.locale(swLocale);

dayjs("2018-07-16").format("MMMM") // "Julai" (July)
dayjs("2020").from("2018"), // "miaka 2 ijayo" (literal translation 2 years to come / later)

License

MIT © wmik