Due date culture

<< Click to Display Table of Contents >>

Navigation:  Settings reference > Global settigs > SIP >

Due date culture

Previous pageReturn to chapter overviewNext page

What culture style is used in Due Dates. This determines how due dates are parsed when received from the library system.

Use a culture code as specified in Appendix A.

You can also use a Regular Expression in this field, to further format date values as needed. To use a Regular Expression, prefix the information with “format:”, for example:

 

 format:(?<day>\d+)(?:.)(?<month>\d+)(?:.)(?<year>\d+)

 

This would parse a due date in format <day> (separator) <month> (separator) <year>, for example 25.03.2015. The separator could be some other character as well, for example 25-03-2015 would be parsed as well.

 

 format:(?<year>\d{4})(?<month>\d{2})(?<day>\d{2})

 

This on the other hand would parse a string having <year using 4 digits><month using 2 digits><day using 2 digits> format, for example 20150325.

 

Note, that all values parsed out of the string must be placed in variables <day>, <month> and <year>, from which Librid will then know to read them.