summary refs log tree commit diff stats
path: root/lib/pure/strformat.nim
Commit message (Collapse)AuthorAgeFilesLines
* New implementations of times.parse & times.format (#8094)Oscar Nihlgård2018-07-091-2/+2
|
* Fixes #8100 (#8101)Oscar Nihlgård2018-06-291-1/+6
|
* Fix strformat neg zero (#7954)skilchen2018-06-051-1/+6
| | | | | | | | * fix strformat handling of neg zero with sign * better tests for neg zero with sign * use inplace insertion of the sign as suggested by Varriount
* Fix strformat precision handling for strings (#7941)skilchen2018-06-041-0/+4
| | | | | | | | * fix strformat precision handling for strings * add some limited unicode awareness to the precision handling for strings * improvement suggested by Varriount: use setLen and runeOffset instead of runeSubstr
* fix strformat zeropadding for floats (#7934)skilchen2018-06-011-2/+20
|
* fixes #7749Araq2018-05-021-1/+1
|
* rename SomeReal to SomeFloat (#7617)Arne Döring2018-04-151-4/+4
| | | | | * rename SomeReal to SomeFloat * added changelog entry
* Improves documentation for strformat module.Dominik Picheta2018-03-011-149/+192
| | | | | | * Adds description of the difference between ``fmt`` and ``&``. * Moves runnable examples to bottom of file. * Separates examples at the top of module better.
* fixes #7078Araq2018-01-141-111/+111
|
* strformat: fixes new 'fmt' templateAndreas Rumpf2018-01-131-0/+1
|
* strformat: introduce 'fmt' as an alias for '%'; ensure overloading ↵Araq2018-01-121-1/+18
| | | | resolution produces a clash between strformat.'%' and json.'%'
* rename strformat.fmt to `%` as it works better with backslash escape ↵Araq2018-01-111-107/+107
| | | | sequences; refs #6958
* Add additional $ fallback to fmtOscar Nihlgård2018-01-091-1/+3
|
* make strformat.fmt take the same signature as strfmt.fmt in order to force ↵Andreas Rumpf2018-01-081-3/+2
| | | | an ambiguity error; refs #6958
* Minor fixes to strformat docs (#6953)Mathias Stearn2017-12-211-3/+4
|
* strformat: fix the documentation examplesAraq2017-12-171-4/+4
|
* strformat: default for numbers is right alignmentAraq2017-12-171-10/+13
|
* strformat: support 'sign' as Python doesAraq2017-12-171-25/+36
|
* strformat: added '^' char for center alignment for Python compatAraq2017-12-171-4/+18
|
* added new stdlib module 'strformat'; refs #5600; refs #6507Araq2017-12-171-0/+590