npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

eth-react-big-calendar-localizer

v1.0.1

Published

An Ethiopian Calendar localizer for react big calendar.

Readme

eth-react-big-calendar-localizer

Ethiopian calendar localizer for react-big-calendar — a drop-in localizer that makes the calendar display and handle Ethiopian dates while remaining fully compatible with events and all built-in views.

Features

  • Drop-in localizer for react-big-calendar.
  • Full support for events (start/end) and all views: day, week, work_week, month, agenda.
  • Works as an alternative to momentLocalizer or other localizers.

Installation

Install from npm:

npm install eth-react-big-calendar-localizer
# or
pnpm add eth-react-big-calendar-localizer
# or
yarn add eth-react-big-calendar-localizer

Quick Example

Below is a minimal example showing how to swap between the Gregorian (momentLocalizer) and the Ethiopian localizer in a React app.

import { useState } from 'react'
import { ethLocalizer } from 'eth-react-big-calendar-localizer'
import { Calendar, momentLocalizer } from 'react-big-calendar'
import type { View } from 'react-big-calendar'
import 'react-big-calendar/lib/css/react-big-calendar.css'

import moment from 'moment'

const localizer = momentLocalizer(moment)
const today = new Date()

function App() {
	const [calendar, setCalendar] = useState<'gregorian' | 'ethiopian'>('gregorian');
	const [date, setDate] = useState(today);
	const [view, setView] = useState<View>('month');
	const [events, setEvents] = useState([
		{
			title: 'Meeting',
			start: today,
			end: new Date(today.getTime() + 60 * 60 * 1000),
		},
		{
			title: 'Lunch',
			start: new Date(today.getTime() + 120 * 60 * 1000),
			end: new Date(today.getTime() + 180 * 60 * 1000),
		}
	])

	return (
		<div className='calendar-container'>
			<div className='calendar-controls'>
				<label>
					Select Calendar:
					<select value={calendar} onChange={(e) => setCalendar(e.target.value as 'gregorian' | 'ethiopian')}>
						<option value="gregorian">Gregorian</option>
						<option value="ethiopian">Ethiopian</option>
					</select>
				</label>
			</div>

			<Calendar
				localizer={calendar === 'gregorian' ? localizer : ethLocalizer}
				events={events}
				startAccessor="start"
				endAccessor="end"
				style={{ height: '80vh' }}

				date={date}
				view={view}
				onNavigate={(newDate) => setDate(newDate)}
				onView={(newView) => setView(newView)}
			/>
		</div>
	)
}

export default App

Usage Notes

  • Pass ethLocalizer to the localizer prop of react-big-calendar to enable Ethiopian date rendering and navigation.
  • Events (with start and end as JS Date objects) are fully supported — the localizer handles display and view calculations.
  • All standard calendar views are supported: day, week, work_week, month, and agenda.

Contributing

Contributions, issues, and feature requests are welcome. See the repository on GitHub for source, development instructions, and to open issues or pull requests:

https://github.com/dawit-kebebe/eth-react-big-calendar-localizer

License

See the LICENSE file in this repository.


If you need help integrating this localizer into your app or want a feature added (for example, timezone support or custom format hooks), please open an issue on the GitHub repo.

Last but not least do not forget to 🌟 star the repo. ✌️ peace!!