Skip to main content
SaloonERP
All articles
Engineering5 min read

Building dual-calendar software for Nepal

Store in AD, display in BS, never convert twice. A short note on getting Bikram Sambat right instead of bolting it on.

In short

  • Every date is stored once, in the Gregorian calendar.
  • The salon chooses to see AD, BS or both; the choice changes display only.
  • Converting a date that was already converted is the bug to design against.

Salons in Nepal live in two calendars. Customers talk in Bikram Sambat; banks, suppliers and card machines often work in the Gregorian calendar. Software that picks one leaves the front desk translating in their head.

One stored date

Every date in SaloonERP is stored once, in AD. That keeps sorting, reporting and anything shared with other systems simple. The calendar the salon chooses changes how a date is shown, not what is stored.

Three ways to read it

  • AD only, for salons that work in the Gregorian calendar.
  • BS only, for salons whose customers and staff think in Bikram Sambat.
  • Both, with one beside the other, for salons that deal with both all day.

The bug to design against

The classic failure is converting twice: a date is shown in BS, someone edits it, and the edited value is treated as AD. It is off by fifty-six years and nobody notices until a report looks strange. The fix is structural. Input in BS is converted once, on the way in, and nothing downstream ever sees a BS value.

Your chairs are booked. Your books shouldn’t be a guess.

Set up in an afternoon. Cancel whenever.