mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 00:12:11 +08:00
support set balance when creating account
This commit is contained in:
@@ -11,3 +11,7 @@ func FormatToLongDateTime(t time.Time) string {
|
||||
func ParseFromLongDateTime(t string) (time.Time, error) {
|
||||
return time.Parse(LongDateTimeFormat, t)
|
||||
}
|
||||
|
||||
func GetTransactionTimeFromUnixTime(unixTime int64) int64 {
|
||||
return unixTime * 1000
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user