next-timeago-af
v0.1.0
Published
Next.js + TypeScript-friendly timeago with Jalali/Gregorian calendar support and Afghan-friendly locales (fa-AF, ps).
Maintainers
Readme
��#� �n�e�x�t�-�t�i�m�e�a�g�o�-�a�f�
�
�
�
�N�e�x�t�.�j�s� �+� �T�y�p�e�S�c�r�i�p�t�-�f�r�i�e�n�d�l�y� ��t�i�m�e�a�g�o�� �f�o�r�m�a�t�t�i�n�g� �w�i�t�h� �A�f�g�h�a�n�-�f�r�i�e�n�d�l�y� �l�o�c�a�l�e�s� �a�n�d� �b�a�s�i�c� �J�a�l�a�l�i�/�G�r�e�g�o�r�i�a�n� �c�a�l�e�n�d�a�r� �h�e�l�p�e�r�s�.�
�
�
�
�#�#� �I�n�s�t�a�l�l�
�
�
�
����b�a�s�h�
�
�n�p�m� �i� �n�e�x�t�-�t�i�m�e�a�g�o�-�a�f�
�
�
�
����
�
�
�
�#�#� �U�s�a�g�e�
�
�
�
����t�s�
�
�i�m�p�o�r�t� �{� �f�o�r�m�a�t�T�i�m�e�A�g�o�,� �f�o�r�m�a�t�D�a�t�e�,� �t�o�J�a�l�a�l�i�,� �t�o�G�r�e�g�o�r�i�a�n� �}� �f�r�o�m� �"�t�i�m�e�a�g�o�-�j�a�l�a�l�i�-�i�1�8�n�"�;�
�
�
�
�f�o�r�m�a�t�T�i�m�e�A�g�o�(�D�a�t�e�.�n�o�w�(�)� �-� �5� �*� �6�0�_�0�0�0�,� �{� �l�o�c�a�l�e�:� �"�e�n�"� �}�)�;� �/�/� �"�5� �m�i�n�u�t�e�s� �a�g�o�"�
�
�f�o�r�m�a�t�T�i�m�e�A�g�o�(�D�a�t�e�.�n�o�w�(�)� �-� �5� �*� �6�0�_�0�0�0�,� �{� �l�o�c�a�l�e�:� �"�f�a�"� �}�)�;� �/�/� �"�� �/B�BG �~�4"�
�
�f�o�r�m�a�t�T�i�m�e�A�g�o�(�D�a�t�e�.�n�o�w�(�)� �-� �5� �*� �6�0�_�0�0�0�,� �{� �l�o�c�a�l�e�:� �"�p�s�"� �}�)�;� �/�/� �"�� �/B�B� �E.��"�
�
�
�
�f�o�r�m�a�t�D�a�t�e�(�n�e�w� �D�a�t�e�(�)�,� �{� �c�a�l�e�n�d�a�r�:� �"�g�r�e�g�o�r�i�a�n�"�,� �l�o�c�a�l�e�:� �"�e�n�"�,� �f�o�r�m�a�t�:� �"�Y�Y�Y�Y�-�M�M�-�D�D�"� �}�)�;�
�
�f�o�r�m�a�t�D�a�t�e�(�n�e�w� �D�a�t�e�(�)�,� �{� �c�a�l�e�n�d�a�r�:� �"�j�a�l�a�l�i�"�,� �l�o�c�a�l�e�:� �"�f�a�"�,� �f�o�r�m�a�t�:� �"�Y�Y�Y�Y�/�M�M�/�D�D�"� �}�)�;�
�
�
�
�c�o�n�s�t� �j� �=� �t�o�J�a�l�a�l�i�(�n�e�w� �D�a�t�e�(�)�)�;�
�
�c�o�n�s�t� �g� �=� �t�o�G�r�e�g�o�r�i�a�n�(�{� �j�y�:� �1�4�0�4�,� �j�m�:� �1�0�,� �j�d�:� �1�7� �}�)�;�
�
����
�
�
�
�#�#� �N�o�t�e�s�
�
�
�
�-� �R�e�l�a�t�i�v�e� �t�i�m�e� �i�s� �b�a�s�e�d� �o�n� �t�i�m�e�s�t�a�m�p�s�,� �s�o� �i�t� �w�o�r�k�s� �t�h�e� �s�a�m�e� �f�o�r� �G�r�e�g�o�r�i�a�n� �a�n�d� �J�a�l�a�l�i�.�
�
�-� �J�a�l�a�l�i� �s�u�p�p�o�r�t� �h�e�r�e� �i�s� �f�o�r� �c�o�n�v�e�r�s�i�o�n� �+� �a�b�s�o�l�u�t�e� �d�a�t�e� �f�o�r�m�a�t�t�i�n�g�.�
�
�-� �I�f� �y�o�u� �w�a�n�t� �d�i�f�f�e�r�e�n�t� �D�a�r�i� �w�o�r�d�i�n�g� �t�h�a�n� �P�e�r�s�i�a�n�,� �y�o�u� �c�a�n� �c�u�s�t�o�m�i�z�e� ��f�a�-�A�F�� �s�t�r�i�n�g�s�.�
�
�
�
�#�#� �L�i�c�e�n�s�e�
�
�M�I�T�
