9 repositorios
Formats monetary values with precision appropriate for each currency, adjustable through a display precision setting.
Distinct from Monetary: Distinct from Monetary: focuses on display formatting and output alignment rather than the monetary value object itself.
Explore 9 awesome GitHub repositories matching software engineering & architecture · Display Formatting. Refine with filters or upvote what's useful.
Arrow es una librería de fechas y horas para Python que simplifica la creación y manipulación de marcas de tiempo envolviendo la librería estándar de Python. Sirve como herramienta para gestionar objetos de fecha, manejar desfases de zona horaria y realizar cálculos de fechas relativas. La librería destaca por su capacidad para humanizar marcas de tiempo en descripciones relativas en lenguaje natural en múltiples idiomas y para analizar frases temporales legibles por humanos convirtiéndolas en objetos de fecha precisos. También cuenta con un analizador especializado para convertir cadenas ISO 8601 y texto con formato personalizado en objetos de fecha. Sus capacidades incluyen aritmética temporal para desplazar fechas, generación de rangos para calcular lapsos de tiempo y redondeo de límites para alinear marcas de tiempo a unidades específicas. También cubre zonas horarias globales y transiciones de horario de verano, así como traducción basada en la configuración regional para el formato de fechas internacionalizado.
Translates custom alphanumeric tokens into date and time components for flexible string generation.
Tempus Dominus is a JavaScript date-time picker library designed to integrate with Bootstrap-based web projects, replacing manual text entry with an interactive calendar and clock interface. It functions as a form input enhancement that provides visual selection of single dates, times, or combined date-time values through a calendar and clock widget. The picker is built as a collection of independent UI components that manage their own state and rendering, with visual customization achieved entirely through CSS variables and class overrides without requiring JavaScript configuration. User int
Uses a configurable format string to drive locale-aware date and time display rendering.
Dinero.js is a TypeScript-first library for creating, calculating, and formatting monetary values. It provides immutable money objects that represent amounts in the smallest currency subdivision as integers, ensuring precision and preventing floating-point errors. The library enforces same-currency rules on arithmetic operations and validates currency codes against ISO 4217 definitions at creation time. The library distinguishes itself through a calculator plugin architecture that delegates arithmetic operations to interchangeable backends, supporting number, bigint, or custom precision libra
Formats monetary values as strings with optional custom transformer functions.
Pendulum is a Python datetime library used for creating, manipulating, and formatting date and time objects with native timezone awareness. It extends the native Python datetime class to maintain compatibility while providing a specialized engine for date arithmetic and timezone management. The library features a dedicated ISO 8601 and RFC 3339 parser that converts standardized strings into date objects without requiring manual format strings. It also includes a relative time generator for producing natural language descriptions of time differences and a timezone management tool that automati
Uses a mapping of custom tokens and locale-specific strings to translate date attributes into human-readable text.
This is a JavaScript time conversion library designed to format millisecond integers as human-readable durations and parse unit-based strings back into total milliseconds. It serves as a utility for managing the transition between machine-readable durations and text representations. The library provides bidirectional mapping, allowing for the conversion of raw numbers to strings and the parsing of strings containing units like days, hours, and minutes back into numeric millisecond counts. It supports both abbreviated and full written-out time formats.
Implements an iterative subtraction algorithm to break down milliseconds into a readable sequence of time units.
Beancount is a plain-text double-entry accounting system. It enforces zero-sum transactions, organizes accounts into a hierarchical five-type tree, and verifies balances at specific dates using precision-derived tolerances. Transactions are recorded in plain-text files with a strict syntax that supports currency-specific rounding, automatic interpolation of missing amounts, and comprehensive metadata including tags, links, and payee annotations. Beyond core bookkeeping, Beancount offers investment portfolio tracking with lot-based cost basis management, configurable booking strategies (FIFO,
Ledger displays monetary values with precision appropriate for each currency, adjustable through a display precision setting.
Spacetime es una librería de zonas horarias de JavaScript y framework de manipulación de fechas diseñado para analizar, formatear y gestionar fechas a través de zonas horarias globales. Proporciona una herramienta de internacionalización para localizar componentes de fecha e incluye definiciones de tipo estáticas para entornos TypeScript para asegurar la verificación de tipos y el autocompletado. El proyecto cuenta con un sistema de plugins para lógica de fechas personalizada, permitiendo la inyección de métodos y comportamientos especializados en objetos de fecha. Esta extensibilidad permite la implementación de requisitos de tiempo específicos del proyecto a través de extensiones de métodos basadas en prototipos. La librería cubre una amplia gama de operaciones de fecha y hora, incluyendo matemáticas de calendario para sumar o restar unidades de tiempo, utilidades de comparación de fechas y extracción de componentes para recuperar detalles del calendario. Maneja la gestión global de zonas horarias con capacidades para offsets regionales, cálculos de horario de verano y conversiones entre diferentes zonas horarias. El sistema también proporciona análisis y validación para cadenas ISO, épocas y entradas en lenguaje natural, junto con herramientas de formato que transforman objetos de fecha en texto legible por humanos utilizando configuraciones de idioma regional y plantillas personalizadas.
Transforms date and time objects into readable strings using formatting tokens and predefined presets.
Awesome Print es un pretty printer de Ruby e inspector de objetos diseñado para visualizar estructuras de datos mediante sangría y colores ANSI. Sirve como formateador para shells interactivos y una utilidad para analizar estados internos de objetos. El proyecto cuenta con un sistema de plugins para definir reglas de formato personalizadas para tipos de objetos específicos y soporta la carga de preferencias globales mediante un archivo de configuración en el directorio home. Puede devolver cadenas ASCII formateadas en lugar de imprimir directamente en la consola. Las capacidades se extienden al renderizado de estructuras de objetos formateadas dentro de plantillas web y la escritura de representaciones de objetos coloreadas en los logs del sistema. La herramienta se integra con entornos REPL para formatear automáticamente los valores devueltos.
Transforms object states into formatted HTML for visualization within web views during debugging.
This project is a proposal for a new immutable date and time API in JavaScript. It serves as a precision time-tracking library and a multi-calendar date engine designed to replace the legacy Date object. The system is distinguished by its support for multiple calendar systems beyond the ISO standard and its use of IANA-based time zone resolution. It provides a framework for managing daylight saving transitions and UTC offsets while maintaining nanosecond precision for global timestamps. The API covers broad functional areas including complex date and time arithmetic, locale-aware formatting,
Produces unambiguous RFC 9557 string representations of dates with configurable calendar annotations.