Click or drag to resize

HelperToFlatpickrFormat Method

Converts a .NET date/time format pattern to a Flatpickr format string. Flatpickr uses its own single-letter tokens (e.g. minutes = 'i', month = 'm'/'n', AM/PM = 'K'), so every token is mapped explicitly. Milliseconds/timezone/era have no Flatpickr token and are dropped.

Namespace: Seal.Helpers
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntax
C#
public static string ToFlatpickrFormat(
	CultureInfo culture,
	string datetimeFormat
)

Parameters

culture  CultureInfo
 
datetimeFormat  String
 

Return Value

String
See Also