[][src]Function bloguen::util::name_based_post_time

pub fn name_based_post_time(name: &str) -> NaiveTime

Generate a reproducible post time from its name.

Works by IEEE-CRC32ing the name.

Examples

assert_eq!(name_based_post_time("cursed device chain"), NaiveTime::from_hms(19, 03, 09));