add localtime class to change the linux date