Skip to content

Conversation

@sajin-shrestha
Copy link
Collaborator

@sajin-shrestha sajin-shrestha commented Sep 1, 2025

Description

  • add NepalTimezoneDate class and integrate with NepaliDate
  • updated README to document the new NepalTimezoneDate class and its integration with NepaliDate.

Related Issue

Fixes #104

Type of Change

Please mark the appropriate option below to describe the type of change your pull request introduces:

  • Bug fix
  • New feature
  • Enhancement
  • Documentation update
  • Refactor
  • Other (please specify)

Checklist

  • I have added/updated the necessary documentation on README.md.
  • I have added appropriate test cases (if applicable) to ensure the changes are functioning correctly.
  • My pull request has a clear title and description.

Additional Notes

[Add any additional notes or context that you think the reviewers should know about.]

By submitting this pull request, I confirm that I have read and complied with the contribution guidelines of this project.

Copy link
Member

@aj3sh aj3sh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sajin-shrestha, I have added a few suggestions. Please review them. Also, let's add the tests for this new feature.

@sajin-shrestha sajin-shrestha force-pushed the nepal-timezone-date-class branch from 900d5e0 to 21fd14c Compare October 30, 2025 08:13
@sajin-shrestha sajin-shrestha force-pushed the nepal-timezone-date-class branch from 21fd14c to 92624cf Compare October 30, 2025 08:15
@sajin-shrestha sajin-shrestha requested a review from aj3sh October 30, 2025 08:23
expect(npTz.getHours()).toBe(13)
expect(npTz.getMinutes()).toBe(53)
// UTC time should be 8:08 AM
expect(npTz.toDate().getUTCHours()).toBe(8)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: NepalTimezoneDate class

3 participants