5 مستودعات
Transforms date objects into human-readable text using localized patterns.
Distinct from String Localization: Focuses specifically on date-to-string interpolation rather than general application string retrieval
Explore 5 awesome GitHub repositories matching development tools & productivity · Temporal String Interpolation. Refine with filters or upvote what's useful.
Arrow is a Python date and time library that provides a simplified interface for creating and manipulating timestamps by wrapping the Python standard library. It serves as a tool for managing date objects, handling timezone offsets, and performing relative date calculations. The library is distinguished by its ability to humanize timestamps into natural language relative descriptions across multiple locales and parse human-readable time phrases back into precise date objects. It also features a specialized parser for converting ISO 8601 strings and custom formatted text into date objects. Br
Transforms date objects into human-readable strings using customized alphanumeric tokens and predefined mappings.
DateTools is a date manipulation library for iOS applications that provides utilities for date arithmetic, range management, and relative time formatting. It functions as a set of tools to shift dates by specific units, calculate durations between timestamps, and convert dates into localized, human-readable strings. The library specializes in the analysis of time spans, offering systems to define, compare, and organize overlapping or sequential time periods. It includes logic to determine chronological relationships, such as whether dates fall within specific windows or how different time per
Transforms date objects into human-readable text using system locale settings and predefined format styles.
Pendulum is a Python date and time library that provides a simplified interface for date arithmetic, ISO parsing, localization, and timezone management. It serves as a replacement for the standard library datetime module, extending existing classes to maintain compatibility while offering a more intuitive management interface. The library distinguishes itself through a natural language date formatter that translates time differences into localized strings and a dedicated ISO 8601 date parser. It also includes tools for time-dependent logic testing, allowing the system clock to be mocked or fi
Maps time units to localized word sets to convert durations into natural human languages.
timeago.js هي مكتبة JavaScript تحول الطوابع الزمنية إلى سلاسل زمنية نسبية مقروءة بشرياً. تعمل كمكتبة تاريخ دولية تحول بيانات التاريخ والوقت الثابتة إلى بيانات وصفية للوقت المنقضي. يوفر المشروع محدثاً زمنياً ديناميكياً يقوم تلقائياً بتحديث تسميات الوقت النسبي على صفحة الويب على فترات منتظمة. يدعم تعريب التاريخ متعدد اللغات، مما يسمح بترجمة بيانات الوقت المنقضي إلى لغات مختلفة باستخدام إعدادات اللغة المدمجة أو المخصصة.
Generates translated relative time phrases by inserting numeric values into localized temporal patterns.
Spacetime هي مكتبة مناطق زمنية JavaScript وإطار عمل لمعالجة التواريخ مصمم لتحليل وتنسيق وإدارة التواريخ عبر المناطق الزمنية العالمية. توفر أداة تدويل (internationalization) لتوطين مكونات التاريخ وتتضمن تعريفات نوع ثابتة لبيئات TypeScript لضمان فحص النوع والإكمال التلقائي. يتميز المشروع بنظام إضافات لمنطق التاريخ المخصص، مما يسمح بحقن طرق وسلوكيات متخصصة في كائنات التاريخ. تتيح هذه القابلية للتوسع تنفيذ متطلبات الوقت الخاصة بالمشروع من خلال امتدادات الطرق القائمة على النموذج الأولي. تغطي المكتبة مجموعة واسعة من عمليات التاريخ والوقت، بما في ذلك رياضيات التقويم لإضافة أو طرح وحدات الوقت، وأدوات مقارنة التاريخ، واستخراج المكونات لاسترداد تفاصيل التقويم. وتتعامل مع إدارة المناطق الزمنية العالمية مع قدرات للإزاحات الإقليمية، وحسابات التوقيت الصيفي، والتحويلات بين المناطق الزمنية المختلفة. يوفر النظام أيضاً تحليلاً وتحققاً لسلاسل ISO، والحقب الزمنية (epochs)، ومدخلات اللغة الطبيعية، إلى جانب أدوات تنسيق تحول كائنات التاريخ إلى نص مقروء بشرياً باستخدام إعدادات اللغة الإقليمية والقوالب المخصصة.
Transforms date objects into human-readable text by replacing formatting symbols with calculated calendar values.