lib: fix a doctest in Hledger.Data.Dates
This commit is contained in:
		
							parent
							
								
									90f440fdc4
								
							
						
					
					
						commit
						f84324682e
					
				| @ -330,6 +330,7 @@ fixSmartDateStrEither' d s = case parsewith smartdateonly (T.toLower s) of | |||||||
| -- | Convert a SmartDate to an absolute date using the provided reference date. | -- | Convert a SmartDate to an absolute date using the provided reference date. | ||||||
| -- | -- | ||||||
| -- ==== Examples: | -- ==== Examples: | ||||||
|  | -- >>> :set -XOverloadedStrings | ||||||
| -- >>> let t = fixSmartDateStr (parsedate "2008/11/26") | -- >>> let t = fixSmartDateStr (parsedate "2008/11/26") | ||||||
| -- >>> t "0000-01-01" | -- >>> t "0000-01-01" | ||||||
| -- "0000/01/01" | -- "0000/01/01" | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user